org.wings.plaf.Utils.optAttribute(device, "width", getIconWidth(icon));
Utils.optAttribute(device, "width", getIconWidth(icon));
    protected void writeContent(final Device device, final SComponent component) throws IOException {        final SDialog dialog = (SDialog) component;        String text = dialog.getTitle();        int columns = 0;        if (text == null)            text = "Dialog";        device.print("<table");        Utils.printCSSInlinePreferredSize(device, component.getPreferredSize());        device.print(">\n<tr>");        // left icon        if (dialog.getIcon() != null) {            SIcon icon = dialog.getIcon();            device.print("<th");            org.wings.plaf.Utils.optAttribute(device, "width", getIconWidth(icon));            device.print(">");            writeIcon(device, icon);            device.print("</th>");            ++columns;        }        device.print("<th col=\"title\">&nbsp;");        org.wings.plaf.Utils.write(device, text);        device.print("</th>");        ++columns;        if (dialog.isClosable() && closeIcon != null) {            writeWindowIcon(device, dialog,                    SInternalFrameEvent.INTERNAL_FRAME_CLOSED, closeIcon);            ++columns;        }        device.print("</tr>");        // write the actual content        device.print("<tr><td colspan=\"");        org.wings.plaf.Utils.write(device, columns);        device.print("\">");        Utils.renderContainer(device, dialog);        device.print("</td></tr>");        device.print("</table>\n");    }