| RedLabel.java |

    1
    2 import javax.swing.*;
    3 import java.awt.*;
    4 import java.util.TimeZone;
    5
    6 public class RedLabel extends JLabel {
    7   public RedLabel() {
    8     this.setForeground( Color.red );
    9     this.setFont( Font.decode( "VERDANA-BOLD-24" ) );
    10  }
    11
    12  public void setTimeZone(TimeZone tz) {
    13
    14    this.setText( tz.getDisplayName() );
    15  }
    16}
    17

| RedLabel.java |