FileDocCategorySizeDatePackage
ClockLabel.javaAPI DocExample480Mon Nov 09 12:45:52 GMT 1998None

ClockLabel

public class ClockLabel extends JLabel implements ActionListener

Fields Summary
Constructors Summary
public ClockLabel()

    super("" + new Date());
    Timer t = new Timer(1000, this);
    t.start();
  
Methods Summary
public voidactionPerformed(java.awt.event.ActionEvent ae)

    setText("" + new Date());