Setting JTab invisble

Discussion in 'Java' started by Ike, Aug 20, 2003.

  1. Ike

    Ike Guest

    If I have a JTabbedPane....how can I make a tab be visible or not at
    runtime? I see I can enable it or not...but is there way or workaround to
    make it visible or not?

    Thanks, Ike
     
    Ike, Aug 20, 2003
    #1
    1. Advertising

  2. Ike

    Bill Dennis Guest

    Is there a reason that you can't call the removeTabAt(int tabNumber)
    method? You can always add the component back at that tab position
    later if you need to.

    Bill Dennis
     
    Bill Dennis, Aug 21, 2003
    #2
    1. Advertising

  3. Have you tried setVisible(false)?


    On 8/22/03 7:39 AM, in article
    , "Bill Dennis"
    <> wrote:

    > Is there a reason that you can't call the removeTabAt(int tabNumber)
    > method? You can always add the component back at that tab position
    > later if you need to.
    >
    > Bill Dennis
     
    Ron Somerville, Aug 22, 2003
    #3
    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. Srinivasa Raghavan Sethuraman
    Replies:
    0
    Views:
    579
    Srinivasa Raghavan Sethuraman
    Jun 30, 2004
  2. CJ
    Replies:
    1
    Views:
    1,619
    Andrew Thompson
    Oct 29, 2004
  3. Sile
    Replies:
    5
    Views:
    720
  4. Replies:
    0
    Views:
    494
  5. Replies:
    2
    Views:
    1,159
Loading...

Share This Page