aspose file tools
The moose likes Java in General and the fly likes JTabbedPane Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "JTabbedPane Problem" Watch "JTabbedPane Problem" New topic
Author

JTabbedPane Problem

mithun gooty
Ranch Hand

Joined: Mar 14, 2006
Posts: 33
I have a scenario where in i have five tabs and a text box in the first tab. I have set the Mnemonics for all the tabs. For one of the tab, I have set 'O' as the Mnemonic. When the application is started, initially i am in the first tab. I clicked on the text field and pressed Alt+O, but the tab which had the Mnemonic set to 'O' is not displayed. I got rid of the focus from the Text Field and pressed Alt+O, the tab is displayed successfully. But its working fine for all the shortcuts except for 'O', irrespective of the focus on TextField. I think when the focus is on the Text Field the key press(Alt+O) event is consumed.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JTabbedPane Problem
 
Similar Threads
Help me! GUI gurus.
Mnemonics problem on Mac OS
Focus Problem
Mnemonic related issue
mnemonic and wiondows L&F