|
[Magercise 2 | API Docs | Short Course | Magercises] Help is available for each task.
Make a subclass of You'll need arrays such as
In the constructor, set the layout to be a 4 row by 3 column grid of buttons.
Create and add buttons to the container with a Use the following to set the layout:
public KeyPad() {
setLayout(new GridLayout(4,3));
...
}
Copyright © 1998-1999 MageLang Institute. All Rights Reserved. | |||||
|
| ||||||||||||