package part1;

import javax.swing.JButton;

/**
 *
 * @author $Author: cdent $
 *
 * @version $Revision: 1.1.1.1 $
 *
 */
public class DVDStopCommand extends AbstractPlayerCommand {

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

	System.out.println("##### DVD Stop Pressed.");
	((DVDContext)getContext()).commandChanged(this);
    }

}
	
