import java.awt.*; // // AccountControls class // // panel containing the accounts and command Choices. It also // contains the controls printed by each account class AccountControls extends Panel { Choice accountChoice; // pop-up menu containing current accounts names Choice accountOperation; // operation to be performed on the current account public void init () { accountChoice=new Choice(); accountChoice.addItem("(no accounts)"); add(accountChoice); accountOperation=new Choice(); accountOperation.addItem("Deposit"); accountOperation.addItem("Withdraw"); accountOperation.addItem("Transfer"); add(accountOperation); } public Insets insets() { return new Insets(1,1,1,1); } }