Java Reference
In-Depth Information
Figure 6-24.
5.
Create another new UsefulFrame subclass called ShipOptions that looks like Figure 6-25
and implements an ItemListener that is tied to the checkboxes in a checkbox group.
Figure 6-25.
6.
Code an itemStateChanged method such that the EnterShipInfo frame is displayed when
the Enter Shipment Information checkbox is clicked, and when the Display Shipment
Information checkbox is clicked, the EnterShipNum frame is displayed.
7.
Modify AppOptions so that ShipOptions frame is displayed when the Shipment
Application checkbox is clicked.
8.
Arrange the frame locations so they appear as in Figure 6-26 .
Search WWH ::




Custom Search