aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JOptionPane using Warning icon 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 using Warning icon" Watch "JOptionPane using Warning icon" New topic
Author

JOptionPane using Warning icon

Mary Taylor
Ranch Hand

Joined: Sep 11, 2000
Posts: 327
I'd like to use the warning icon on a JOptionPane. I need to give my user a warning, but I also need to give him the option to continue or stop. Therefore, I chose the JOptionPane over the JWarningPane. Where can I find the warning icon to use with the JOptionPane?
Thanks.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8971
    
    9

It's included in the Java look-and-feel. Consult the Java Tutorial chapter on How to Make Dialogs for examples.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JOptionPane using Warning icon