This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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