create standard icon

G

Greg

Hi

How can I create standard icon - the same which is in the dialog below?

JOptionPane.showMessageDialog(frame,
"Eggs aren't supposed to be green.",
"Inane warning",
JOptionPane.INFORMATION_MESSAGE);

Icon standardIcon = new Icon("what?!") or maybe is another way?

Thanks in advance
Best Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,779
Messages
2,569,606
Members
45,239
Latest member
Alex Young

Latest Threads

Top