Two Laptop Bag*
The moose likes Swing / AWT / SWT and the fly likes Escape Character and JOPTIONPANE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Escape Character and JOPTIONPANE" Watch "Escape Character and JOPTIONPANE" New topic

Escape Character and JOPTIONPANE

colette cronin

Joined: Aug 13, 2001
Posts: 2
Does any one know if when using JOPTIONPANE with the JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE options I can get the escape key to map to the NO button instead of the button that has focus??
I agree. Here's the link:
subject: Escape Character and JOPTIONPANE
Similar Threads
JOptionPane without a button
JOptionPane HELP!! : On How To Disable The 'x' Close Buttton On showOptionDialog.
java alert
WA #1.....word association
WA #2 ..... word association