/*
 * ThreadChangeForeground.java
 * Created on 10 mars 2008, 12:12
 * @author pit
 */

package gavegrave;

import javax.swing.JLabel;

/** ThreadChangeForeground
 */
class ThreadChangeForeground extends ThreadChange {
    
    /** Creates a new instance of ThreadChangeForeground */
    public ThreadChangeForeground(JLabel jlabel) {
        super(jlabel);
        this.time = DEFAULT_FOREGROUND_TIME ;
    }

    public void change() {
        jlabel.setForeground(nextColor());
    }
    
}
