File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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>
I agree. Here's the link:
subject: GUI question about tabbedPane
Similar Threads
JPanel question ...
Focus: cant find the relevant method
How to set mnemonic key for the tabbedPane?
Help me! GUI gurus.
Expand the JTabbedPane