aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JOptionPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JOptionPane" Watch "JOptionPane" New topic
Author

JOptionPane

Bron Czimes
Ranch Hand

Joined: May 09, 2004
Posts: 44
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

Joined: Jul 11, 2001
Posts: 15286
    
    6

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.


GenRocket - A Test Data Generation Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JOptionPane