• Post Reply Bookmark Topic Watch Topic
  • New Topic

JOption Pane

 
Pierre Dubeau
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to set to No Button the JOptionPane (default button is Yes) ?
Help appreciate
pierre.dubeau@invidex.com
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you trying to make "no" the default option?



Oh, yes, and please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

Thanks! and welcome to the JavaRanch!
 
Bhagya Tangutur
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Nathan Pruett:
Are you trying to make "no" the default option?



Oh, yes, and please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

Thanks! and welcome to the JavaRanch!

why focus is still on Yes button??is there any way i can transfer it to No button???
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!