• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JOptionPane using Warning icon

 
Mary Taylor
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9314
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's included in the Java look-and-feel. Consult the Java Tutorial chapter on How to Make Dialogs for examples.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic