Meaningless Drivel is fun!
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
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>
I agree. Here's the link:
subject: GUI question about tabbedPane
It's not a secret anymore!