Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

Swing, JTabbedPane/Panel/Panel

Thread view: 
JC - 09 Aug 2006 22:27 GMT
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
Michael Rauscher - 09 Aug 2006 22:44 GMT
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.