Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Setting JTab invisble

Reply
Thread Tools

Setting JTab invisble

 
 
Ike
Guest
Posts: n/a
 
      08-20-2003
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


 
Reply With Quote
 
 
 
 
Bill Dennis
Guest
Posts: n/a
 
      08-21-2003
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
 
Reply With Quote
 
 
 
 
Ron Somerville
Guest
Posts: n/a
 
      08-22-2003
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting Onclick and setting the ClientID in behind code isn't working in Mozilla davidr@sharpesoft.com ASP .Net 2 08-22-2006 09:30 PM
setting Onclick and setting the ClientID in behind code isn't working in Mozilla davidr@sharpesoft.com ASP .Net 0 08-21-2006 11:55 PM
python-dev and setting up setting up f2py on Windows XP Sile Python 5 08-18-2006 08:13 AM
tomcat 4.x : setting mime type for a directory or setting a default mime type CJ Java 1 10-29-2004 07:51 PM
Setting a configurable time-out setting for all the communication initiated with Remoting object. Srinivasa Raghavan Sethuraman ASP .Net 0 06-30-2004 10:05 AM



Advertisments