File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Error icon from look and feel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Error icon from look and feel" Watch "Error icon from look and feel" New topic

Error icon from look and feel

John Smith
Ranch Hand

Joined: Jul 20, 2001
Posts: 84
I'm trying to get the Icon that corresponds to an error depending on the current look and feel. For example, how do I get the Icon that is used by a JOptionPane to display an error message? I want my own error message windows to be consistent with my JOptionPanes since I'm using both for different reasons. Thanks...
It is sorta covered in the JavaRanch Style Guide.
subject: Error icon from look and feel