-
Enhancement
-
Resolution: Fixed
-
P1
-
1.1.4
-
swing1.0fcs
-
generic
-
solaris_2.6
-
Verified
Let's say, I have a "Add" menu item, and I want to indicate <Ins> as a hot-key (not a menu shortcut), there is no clean way to do this. Currently the
only way that I can do this is:
new JMenuItem("Add <Ins>");
new JMenuItem("Delete <Del>");
The problem with this approach is that you have to play with the spaces to make sure that all your menu items are aligned. The real problem occurs at the localisation centers.
Note that Motif automatically performs the alignment automatically (after having specified the key accelerator)
- relates to
-
JDK-4113639 Hotkey labels for menus should be left-aligned
-
- Closed
-