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