JRadioButton and how to use it as a group. JTextField and JTextArea.
Especially setText, getText, append,
setFont.e.getSource() to distinguish source of the event.MouseListener.
public class ATM implements Interface1, Interface2 {
// .. code
}
But it is not necessary to implement 2 interfaces. Component getComponent() in
MouseEvent class. numTextField.requestFocus() to bring the focus to the
text field. numTextField.selectAll() to highlight the text on the text
field.
System.exit(0).
String action, the action can be "Balance", "Withdraw",
"Deposit". void unhighlight(Component comp) :
unhighlight the component. Bascially it reset thes background color. void highlight(Component comp) :
highlight the component. It resets the background color.void proceed() : reaction of the program after you click the
proceed button. The program responses according to the String action void cancel() : reaction of the program after you click the
cancel button. The program responses according to the String action.