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 / September 2006

Tip: Looking for answers? Try searching our database.

How to make a Tabbed panel invisible

Thread view: 
Sn - 04 Sep 2006 05:18 GMT
HI all,

In the GUI screen of my application, i ve a component with several
tabbed panels. I want to show a tab when some conditions are true.
That is when the condition is false,  the tab should not be
present/visible there.

I tried to achieve this using the panel properties setEnabled() and
setVisible() methods

But irrespective of the value set with this methods the tabbed panels
are always shown in the GUI,

kindly let me know what should i do to make the panel invisible when
the condition is false.

regards,
hiwa - 04 Sep 2006 06:18 GMT
Sn のメッセージ:

> HI all,
>
[quoted text clipped - 13 lines]
>
> regards,

> setEnabled() and
setEnabeldAt()
or,
use add/remove idioms of the JTabbedPane class.
Sn - 04 Sep 2006 06:58 GMT
> Sn のメッセージ:
>
[quoted text clipped - 20 lines]
> or,
> use add/remove idioms of the JTabbedPane class.

hi thanks for the reply..

i removed it based on the condition using removeTabAt() method..


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.