![]() |
Phone dialing keypad
In this Magercise you will create an applet containing a phone keypad full of buttons layed out with GridLayout.
Work LocationPerform all work for this magercise in VisualAge project MageLang Magercises, package magercises.phonepad. If this project does not appear in your Workspace add it from the repository (if it exists there) or create a new project using this name. Tasks
Perform the following tasks:
In the Properties Editor, set the layout to be a 4 row by 3 column GridLayout. Then add twelve buttons to the container. Any previously added buttons will move and resize themselves to accomodate the new buttons.
Change the labels on the buttons to match the standard phone keypad:
|
Copyright © 1996-1997 MageLang Institute. All Rights Reserved. |