Closed GoogleCodeExporter closed 9 years ago
Apparently, this is a Look And Feel dependent behavior. It will NOT occur on
Windows
LAF, but will be an issue on Metal, and possibly others.
And it is not just for jsyntaxpane dialogs.
To have buttons respond to Enter in addition to Spacebar, you need to add the
following line of code:
UIManager.put("Button.defaultButtonFollowsFocus", Boolean.TRUE);
Original comment by ayman.al...@gmail.com
on 6 May 2010 at 7:05
Original issue reported on code.google.com by
javlo...@gmail.com
on 28 Apr 2010 at 4:53