In this Magercise, you will implement a technique described in the
course notes for
building label/text field pairs.
Magercise 1 Prerequisites
None.
Skeleton Code
InputForm.java
Tasks:
Create a Panel
managed by BorderLayout
. Add a Label
"Name:
"
to the west region and a TextField
to the center region.
Set the layout of the applet to
BorderLayout
. Add the Panel
you just created to the north region of the applet container.
Where help exists, the task numbers above are linked to the
step-by-step
help page.
Solution Source
InputForm.java
Demonstration
Copyright © 1998-1999
MageLang Institute.
All Rights Reserved.