    01: import javax.swing.*;
    02:
    03: public class IconTest
    04: {
    05:    public static void main(String[] args)
    06:    {
    07:       JOptionPane.showMessageDialog(
    08:          null,
    09:          "Hello, Mars!",
    10:          "Message",
    11:          JOptionPane.INFORMATION_MESSAGE,
    12:          new MarsIcon(50));
    13:       System.exit(0);
    14:    }
    15: }
    16: