getRootPane().setDefaultButton((JButton)
domModel.query("#okBtn").get(0).getComponent());
this must be done with <meta>
e.g.
<meta name='display-as' value='dialog'/>
<meta name='default-button' value='okBtn'/>
Original issue reported on code.google.com by Penkov.V...@gmail.com on 24 Jun 2011 at 2:29
Original issue reported on code.google.com by
Penkov.V...@gmail.com
on 24 Jun 2011 at 2:29