Technical Support
Discussion Forum
Online Training
Read About Java
Java In-Depth
Product Discounts
Membership Information

Java Cup Logo

JDC Home Page


Working Applet
Help and Hints
Source Code
Table of Contents
Online Training
shadowSearchFAQFeedback

CheckboxGroupTest

Prerequisites

In this exercise, you will write an applet that creates some Checkbox components and gives them the behavior of radio buttons through the use of the CheckboxGroup class, which controls the buttons in such a way that only one can be checked on at once.

Perform the following tasks:

  1. Create an applet called CheckboxGroupTest.
  2. Create a CheckboxGroup and three Checkbox objects with labels " 8 pt," "10 pt," and "12 pt."
The task numbers above are linked to the step-by-step help page. Also available is a complete solution that meets these requirements.

Related Exercises