Swing, JTabbedPane/Panel/Panel

J

JC

I'm very confused why this code works with one version of Java and not
the other (I inherited it, so I may not fully understand it, but it
seems straightforward).

Basically, I have a JTabbedPane. I add three panels to the JTabbedPane
giving me three tabs. I then add the JTabbedPane to a JPanel and then
add that JPanel (along with a second JPanel) to the main JPanel. A
little complex, but it works...in Sun Java 1.4.2.

In Sun Java 5.0, I cannot click any of the tabs in the JTabbedPane.
The first tab is selected, but I cannot select any of the others.
There is no errors or any other apparent problem.

Can anybody help with this?



Thanks
 
M

Michael Rauscher

JC said:
I'm very confused why this code works with one version of Java and not
the other (I inherited it, so I may not fully understand it, but it
seems straightforward). ....
Can anybody help with this?

Regarding me: not without a small running example.

Bye
Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top