Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JOptionPane===Closing  RSS feed

 
Anurag Mishra
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to close a message dialogbox
example:
input=JOptionPane.showInputDialog(frame,"Enter password to unlock database ?",JOptionPane.QUESTION_MESSAGE);
if((input ==null)){
Here I am having problem...How to close this input dialogbox
}
Help me out to close this dialogbox
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!