3 public class JCheckBox extends AbstractButton {
10 public String toHTML() {
11 String s = "<label><input type=checkbox id='" + id
12 + "' class='JCheckBox' style='" + getCSSstyle(0, 0) + "' "
13 + (selected ? "checked='checked' " : "")
14 + "onclick='SwingController.click(this)'>" + text + "</label>";