package part1;

import java.awt.Color;

/**
 * Stop Command for a Tape Player
 *
 * @author $Author: cdent $
 *
 * @version $Revision: 1.2 $
 *
 */
public class TapeStopCommand extends AbstractPlayerCommand {

    public void init() {
	setText("Stop");
	button.addActionListener(this);
    }

    public void press() {
	truify();

	System.out.println("##### Tape Stop Pressed.");
	((TapeContext)getContext()).commandChanged(this);
    }

}
	
