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. Advertisements

  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. Advertisements

  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. Advertisements

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. Mark Kamoski

    setting to Nothing

    Mark Kamoski, Aug 7, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,194
    Robert Jacobson
    Aug 7, 2003
  2. Dan Amiga

    Opening Shares and Setting ACLS in C#.

    Dan Amiga, Sep 19, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    506
    Dan Amiga
    Sep 19, 2003
  3. Kevin Buchan
    Replies:
    2
    Views:
    858
    Kevin Buchan
    Dec 1, 2003
  4. Srinivasa Raghavan Sethuraman
    Replies:
    0
    Views:
    707
    Srinivasa Raghavan Sethuraman
    Jun 30, 2004
  5. CJ
    Replies:
    1
    Views:
    1,852
    Andrew Thompson
    Oct 29, 2004
  6. Sile
    Replies:
    5
    Views:
    933
  7. Replies:
    0
    Views:
    605
  8. Replies:
    2
    Views:
    1,345
Loading...