![]() |
Radio buttons
Create two radio buttons that allow a user to choose between two Java courses. Work LocationPerform all work for this magercise in VisualAge project MageLang Magercises, package magercises.radiobuttons. 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:
Note that although the checkboxes appear not to be RadioButtons, when you run the applet they'll display properly if they're linked through a CheckBoxGroup bean. Now add a textfield to the applet such that when a given RadioButton is activated, the contents of the TextField show the RadioButton's label.
|
Copyright © 1996-1997 MageLang Institute. All Rights Reserved. |