org.wings.plaf.Utils.optAttribute(device, "width", getIconWidth(icon));
Utils.optAttribute(device, "width", getIconWidth(icon));
    public void writeContent(final Device device, final SComponent _c)            throws IOException {        final SInternalFrame component = (SInternalFrame) _c;        SInternalFrame frame = component;        String text = frame.getTitle();        int columns = 0;        if (text == null)            text = "wingS";        device.print("<table");        Utils.printCSSInlinePreferredSize(device, component.getPreferredSize());        device.print(">\n<tr>");        // left icon        if (frame.getIcon() != null) {            SIcon icon = frame.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 (frame.isMaximizable() && !frame.isMaximized() && !frame.isIconified() && maximizeIcon != null) {            writeWindowIcon(device, frame,                    SInternalFrameEvent.INTERNAL_FRAME_MAXIMIZED, maximizeIcon);            ++columns;        }        if (frame.isIconifyable() && !frame.isIconified() && iconifyIcon != null) {            writeWindowIcon(device, frame,                    SInternalFrameEvent.INTERNAL_FRAME_ICONIFIED, iconifyIcon);            ++columns;        }        if (frame.isIconified() && deiconifyIcon != null) {            writeWindowIcon(device, frame,                    SInternalFrameEvent.INTERNAL_FRAME_DEICONIFIED, deiconifyIcon);            ++columns;        }        if (frame.isClosable() && closeIcon != null) {            writeWindowIcon(device, frame,                    SInternalFrameEvent.INTERNAL_FRAME_CLOSED, closeIcon);            ++columns;        }        device.print("</tr>");        // write the actual content        if (!frame.isIconified()) {            device.print("<tr><td colspan=\"");            org.wings.plaf.Utils.write(device, columns);            device.print("\">");            Utils.renderContainer(device, frame);            device.print("</td></tr>");        }        device.print("</table>\n");    }