|
[Help | API Docs | Short Course | Magercises]
In this Magercise you will create a phone keypad full of buttons laid out with
Magercise 2 Prerequisites None. Skeleton Code PhonePadTest.java Tasks:
Panel called KeyPad. Define an
array
of strings containing the key labels on a phone keypad.
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 Where help exists, the task numbers above are linked to the step-by-step help page. Solution Source PhonePadTest.java Demonstration
Copyright © 1998-1999 MageLang Institute. All Rights Reserved. | ||||
|
| ||||||||||||