• Post Reply Bookmark Topic Watch Topic
  • New Topic

JOptionPane===Closing

 
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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!