Create standard icon

From: Greg (gd_at_logium.pl)
Date: 10/30/03

  • Next message: Michael L.: "Byte or byte 2 BitSet - conversation"
    Date: Thu, 30 Oct 2003 08:26:51 +0100
    
    

    Hi

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

    //custom title, warning icon
    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

    -- 
    Greg
    

  • Next message: Michael L.: "Byte or byte 2 BitSet - conversation"