-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
hopper
-
generic
-
generic
michelle.devereux@Ireland 2001-07-31
The Sun JavaDocs
(http://java.sun.com/j2se/1.4/docs/api/javax/swing/doc-files/Key-Metal.html#JMen
uBar) imply that pressing ALT will give you access to the menu bar and allow you
to navigate around it using the arrow keys (this is native Window
behaviour). In actual fact you have to press ALT + (a particular menu
shortcut letter).
The following is an extract of the keystrokes from the documentation:
JMenuBar (Java L&F)
Jump to menubar | Alt
Navigate out | Esc
Navigate out | Alt
Navigate between items within menu | Arrow keys
Select first item (if no item selected) | F10
Select next item | Right
Select previous item | Left
Select default or selected item | Enter
Post menu | Up, Down
Post menu | Enter
Post menu | Spacebar
Post menu | Alt+Char accelerator key, if defined
Un-post menu | Esc
Un-post menu | Alt
The problem can be reproduced by starting SwingSet2 from demo directory - pressing ALT key does not get you to the menubar with any L&F.
The Sun JavaDocs
(http://java.sun.com/j2se/1.4/docs/api/javax/swing/doc-files/Key-Metal.html#JMen
uBar) imply that pressing ALT will give you access to the menu bar and allow you
to navigate around it using the arrow keys (this is native Window
behaviour). In actual fact you have to press ALT + (a particular menu
shortcut letter).
The following is an extract of the keystrokes from the documentation:
JMenuBar (Java L&F)
Jump to menubar | Alt
Navigate out | Esc
Navigate out | Alt
Navigate between items within menu | Arrow keys
Select first item (if no item selected) | F10
Select next item | Right
Select previous item | Left
Select default or selected item | Enter
Post menu | Up, Down
Post menu | Enter
Post menu | Spacebar
Post menu | Alt+Char accelerator key, if defined
Un-post menu | Esc
Un-post menu | Alt
The problem can be reproduced by starting SwingSet2 from demo directory - pressing ALT key does not get you to the menubar with any L&F.
- relates to
-
JDK-4678300 SwingSet2 and other demos should use setJMenuBar()
-
- Resolved
-