Buttons Example
public class ButtonTest extends Frame implements ActionListener{
setLayout(new FlowLayout());
myWindowListener mwl = new myWindowListener();
b1 = new Button("Press-me");
b2 = new Button("or me! ");
b1.addActionListener(this);
b2.addActionListener(this);