001package horstmann.ch04_icon1;
002import javax.swing.ImageIcon;
003import javax.swing.JOptionPane;
004
005public class IconTester
006{
007        public static void main(String[] args)
008        {
009                JOptionPane.showMessageDialog(
010                                null,
011                                "Hello, World!",
012                                "Message",
013                                JOptionPane.INFORMATION_MESSAGE,
014                                new ImageIcon("globe.gif"));
015                System.exit(0);
016        }
017}