Re: default button in JDialog
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 19 Aug 2007 13:46:57 -0700
Chameleon wrote:
How can I activate a JButton when I press ENTER in a JDialog?
Look at JRootPane.setDefaultButton().
--
Knute Johnson
email s/nospam/knute/
.
- References:
- default button in JDialog
- From: Chameleon
- default button in JDialog
- Prev by Date: default button in JDialog
- Next by Date: GCJ and swing
- Previous by thread: default button in JDialog
- Next by thread: GCJ and swing
- Index(es):