Results 1 to 3 of 3
- 06-10-2009, 08:43 AM #1
Member
- Join Date
- Jun 2008
- Location
- Australia
- Posts
- 43
- Rep Power
- 0
[SOLVED] How To Freeze Tab/s from JTabbedPane
Hello,
I just want to ask if it's possible to 'freeze' or 'disable' a particular tab once an event happened/clicked.
Let's say I have three (3) tabs: Tab Red, Tab Blue and Tab Green. Upon clicking the 'generate' button, Tab Blue and Tab Green will 'disabled' in such a way that you can't clicked them. Only the pane of Tab Red can be seen.
Any suggestions?
- 06-10-2009, 09:27 AM #2
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 8
See the "setEnabledAt" method of JTabbedPane in the API docs.
- 06-10-2009, 09:42 AM #3
Member
- Join Date
- Jun 2008
- Location
- Australia
- Posts
- 43
- Rep Power
- 0
Similar Threads
-
freeze radioButton without disable them
By itaipee in forum AWT / SwingReplies: 5Last Post: 05-25-2009, 09:29 AM -
Traversing a JTabbedPane
By Inks in forum AWT / SwingReplies: 12Last Post: 03-11-2009, 05:15 AM -
How to use JTabbedPane
By Java Tip in forum javax.swingReplies: 0Last Post: 06-27-2008, 07:50 PM -
Help with JTabbedPane
By lenny in forum SWT / JFaceReplies: 1Last Post: 08-07-2007, 06:18 AM -
Same component on all JTabbedPane
By java_novice in forum AWT / SwingReplies: 4Last Post: 08-06-2007, 09:09 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks