import java.awt.*; // // BankControls class // // panel containing the accounts and command Choices. It also contains // the controls used by each account public class BankControls extends Panel { // Buttons to create/delete accounts Button newAccount; //Button deleteAccount; // Buttons to modify the current date // (in order to trigger interest computation) Button advanceOneDay, advanceOneMonth; public BankControls () { newAccount=new Button("New account"); //deleteAccount=new Button("Delete account"); advanceOneDay=new Button("Next Day"); advanceOneMonth=new Button("Next Month"); add(newAccount); //add(deleteAccount); add(advanceOneDay); add(advanceOneMonth); // show controls newAccount.show(); } public Insets insets() { return new Insets(1,1,1,1); } }