• Post Reply Bookmark Topic Watch Topic
  • New Topic

GUI question about tabbedPane

 
xiao li
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using JDK1.4 you can use
public void setDisplayedMnemonicIndexAt(int tabIndex, int mnemonicIndex)
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!