![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
For this exercise you design an applet that receives all key events, counts the number of key-press events, and displays this value in the applet's area of the browser window. The nonkey-related functionality already exists in the skeleton.
PrerequisitesSkeleton Code
Tasks
To receive the key events, add the applet itself as an
Define the
Where help exists, the task numbers above are linked to the step-by-step help page. Solution Source
Demonstration
This exercise only runs within browsers that support the Java Runtime Environment 1.1
and
Next ExerciseExercisesShort CourseCopyright 1996-2000 jGuru.com. All Rights Reserved. |