-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter wrote:
how can i define shortkeys for menu titles (not menuitems)? i don't
want to use swing but awt. on the web there are 1000 examples how to
do this for items but for titles???
the keys should be underlined and be a combination ALT+Key.
Peter
java.awt.MenuItem.setShortcut(). The class java.awt.Menu extends
java.awt.MenuItem; therefore, all methods callable on MenuItems are
valid for Menus; thus, java.awt.Menu.setShortcut() also exists.
- --
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAdh8InwjA8LryK2IRAq4LAKD90V3J/sBived+ffGxwQQcwMhEQQCdEhY1
ZhjiX5q6S3q0/qr/N/NV5lU=
=i67y
-----END PGP SIGNATURE-----