![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
In this exercise, you will construct a number of components and add them to
an applet. No events are handled nor is the layout considered. You may
experiment with the effect on the layout of changing the applet size by using In the applet, when you add components, they will be managed by the default
layout manager of Applet, which is
Skeleton Code
Tasks
Add a new
Add a new
Add another
Add a new
Add a new Note: The number of columns that you pass represents the preferred number of characters to be visible. This means:
Add a new
Where help exists, the task numbers above are linked to the step-by-step help page. Solution Source
Demonstration
When you run your applet, it should look like the following.
Next ExerciseExercisesShort CourseCopyright 1996-2000 jGuru.com. All Rights Reserved. |