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

package gavegrave;

import javax.swing.JLabel;

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

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