• Post Reply Bookmark Topic Watch Topic
  • New Topic

Escape Character and JOPTIONPANE

 
colette cronin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!