It's not a secret anymore!
The moose likes Java in General and the fly likes GUI question about tabbedPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "GUI question about tabbedPane" Watch "GUI question about tabbedPane" New topic

GUI question about tabbedPane

xiao li

Joined: Apr 09, 2002
Posts: 13
How can I set a mnemonic key for a tabbedPane?
So the user can use ALT+key to tab to the different tabbedPane?
Thanks a lot.
Col Bell

Joined: Mar 21, 2002
Posts: 12
If you're using JDK1.4 you can use
public void setDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex)

Col<br /><a href="" target="_blank" rel="nofollow"></a>
Don't get me started about those stupid light bulbs.
subject: GUI question about tabbedPane