Swing, JTabbedPane/Panel/Panel

Discussion in 'Java' started by JC, Aug 9, 2006.

  1. JC

    JC Guest

    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
     
    JC, Aug 9, 2006
    #1
    1. Advertising

  2. JC wrote:
    > 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
     
    Michael Rauscher, Aug 9, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike Bosschaert
    Replies:
    0
    Views:
    636
    Mike Bosschaert
    Jan 7, 2005
  2. Big Daddy

    Java 1.2 Swing vs. Java 1.5 Swing

    Big Daddy, Apr 15, 2005, in forum: Java
    Replies:
    2
    Views:
    514
    Pete Barrett
    Apr 16, 2005
  3. mkrause
    Replies:
    0
    Views:
    692
    mkrause
    May 6, 2005
  4. lizard
    Replies:
    0
    Views:
    1,795
    lizard
    Jan 30, 2006
  5. S.T
    Replies:
    2
    Views:
    600
Loading...

Share This Page