This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Escape Character and JOPTIONPANE" Watch "Escape Character and JOPTIONPANE" New topic
Author

Escape Character and JOPTIONPANE

colette cronin
Greenhorn

Joined: Aug 13, 2001
Posts: 2
Hi,
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??
Colette
 
wood burning stoves
 
subject: Escape Character and JOPTIONPANE