UNB/ CS/ David Bremner/ teaching/ java/ KeyPadTest.java
public class KeyPadTest extends DBFrame implements KeyPadClient{
    public void keypressCallback(String text){
        System.out.println(text);
    }
    
    public KeyPadTest(){
        super(300,100);
        String labels[][]={ 
            {"1","2"}, 
            {"buckle my shoe", "*"}};
        this.getContentPane().add(new KeyPad(labels,this));
        this.setVisible(true);
    }

    public static void main(String []args){
        
        KeyPadTest k=new KeyPadTest();
        

    }
        
}
//