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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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
It's not a secret anymore!