1 | In the example applet CheckboxTest, the itemStateChanged(...) method builds a string depending on the state of each checkbox |
2 | It uses methods getState() and getLabel() of the Checkbox class, and methods equals(...), lastIndexOf(...), substring(...), and toLowerCase() of the String class |