Checkbox Constructors
Checkbox objects are instantiated with the Checkbox constructor and added to the applet with the add(…) method: add( new Checkbox( "Bold" ) );
Initially, checkboxes are unchecked, but this may be overridden: Checkbox checkbox = new Checkbox( "Italic" ); add( checkbox, true );