|
Java™ by example!
|
|
|
How do I assign a shortcut key to a JButton?
Swings JButton inherits from AbstractButton that defines a method setMnemonic. You can use it as follows:
Further Information
Author of answer: Joris Van den Bogaert
Comments
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|