super("Timer Demo"); setSize(300, 100); setDefaultCloseOperation(EXIT_ON_CLOSE); ClockLabel clock = new ClockLabel(); getContentPane().add(clock, BorderLayout.NORTH);
ClockTest ct = new ClockTest(); ct.setVisible(true);