Utils.innerPreferredSize(device, component.getPreferredSize());
    public void writeContent(final Device device, final SComponent component)        throws IOException {        final SAbstractButton button = (SAbstractButton)component;        if (button.getShowAsFormComponent()) {            device.print("<button type=\"submit\" name=\"");            org.wings.plaf.Utils.write(device, Utils.event(button));            device.print("\"");            org.wings.plaf.Utils.optAttribute(device, "tabindex", button.getFocusTraversalIndex());            org.wings.plaf.Utils.optAttribute(device, "accesskey", button.getMnemonic());        }        else {            device.write("<a href=\"".getBytes());            RequestURL addr = button.getRequestURL();            addr.addParameter(button, button.getToggleSelectionParameter());            addr.write(device);            device.write("\"".getBytes());            org.wings.plaf.Utils.optAttribute(device, "accesskey", button.getMnemonic());        }        if (!button.isEnabled())            device.print(" disabled=\"true\"");        if (button.isSelected())            device.print(" checked=\"true\"");        Utils.writeEvents(device, button);        device.print(">");        final String text = button.getText();        final SIcon icon = getIcon(button);        if (icon == null && text != null)            writeText(device, text);        else if (icon != null && text == null)            writeIcon(device, icon);        else if (icon != null && text != null) {            new IconTextCompound() {                protected void text(Device d) throws IOException {                    writeText(d, text);                }                protected void icon(Device d) throws IOException {                    writeIcon(d, icon);                }            }.writeCompound(device, component, button.getHorizontalTextPosition(), button.getVerticalTextPosition());        }        if (button.getShowAsFormComponent())            device.print("</button>");        else            device.print("</a>");    }