File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JOptionPane

 
Bron Czimes
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
me again!

just wondering if there is an option to close a dialog box (OptionPane) the same way as a normal frame (ie this.dispose())

???
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not really. But you could build your own OptionPane using a JDialog which has most all the same features as a JFrame and can be modal.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic