import java.awt.*;
/**
* Base class for our buttons that have text labels
*/
public abstract class TextButton extends Button {
public TextButton (Model model, Square.ButtonAction action, String label) {
super (model, action); //*1 Same as previous, except saves model not square
setText (label);
setFont (new Font("SansSerif", Font.ITALIC, 14));
setForeground (Color.BLUE);
}
}