private void writeIcon(Device device, SIcon icon, String cssClass) throws IOException {
protected void writeIcon(Device device, SIcon icon, String cssClass) throws IOException {
    private void writeIcon(Device device, SIcon icon, String cssClass) throws IOException {        device.print("<img");        if (cssClass != null) {            device.print(" class=\"");            device.print(cssClass);            device.print("\"");        }        device.print(" border=\"0\"");        Utils.optAttribute(device, "src", icon.getURL());        Utils.optAttribute(device, "width", icon.getIconWidth());        Utils.optAttribute(device, "height", icon.getIconHeight());        device.print("/>");    }