my dog learned polymorphism*
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 Java 8 in Action this week in the Java 8 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...
I agree. Here's the link:
subject: Error icon from look and feel
Similar Threads
JInternalFrame restore icon
Retrieve system icons
Struts 2 - How do I remove validation messages from fields?
Designing GUIs with cross-platform look and feel