/*
 * Class Update GUI 
 * 
 */

package assignment1;

import javax.swing.*;

public class UpdateGUI extends JComponent implements Runnable{
    private JLabel score;
    private String text;

    public UpdateGUI(JLabel OutScore, String Outtext)
    {
        score  = OutScore;
        text   = Outtext;
    }

    public void run()
    {
        score.setText(text);
    }
}
