Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JOptionPane

 
Bron Czimes
Ranch Hand
Posts: 44
  • 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
  • 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