How do set a shortcut, eg. Ctrl+Q, to a JButton? JMenuItem has setAccelerator() method to set one, but JButton doesn't.
JButton
JMenuItem
setAccelerator()