Utils.innerPreferredSize(device, component.getPreferredSize());
Utils.printInnerPreferredSize(device, component.getPreferredSize());
    public void writeContent(final Device device, final SComponent _c)            throws IOException    {        final SDesktopPane component = (SDesktopPane) _c;        SDesktopPane desktop = (SDesktopPane) component;        device.print("<table");        Utils.innerPreferredSize(device, component.getPreferredSize());        device.print(">\n");        int componentCount = desktop.getComponentCount();        for (int i = 0; i < componentCount; i++) {            SInternalFrame frame = (SInternalFrame) desktop.getComponent(i);            if (!frame.isClosed() && frame.isMaximized()) {                device.print("<tr><td>");                frame.write(device);                device.print("</td></tr></table>");                return;            }        }        for (int i = 0; i < componentCount; i++) {            SInternalFrame frame = (SInternalFrame) desktop.getComponent(i);            if (!frame.isClosed()) {                device.print("<tr><td>");                frame.write(device);                device.print("</td></tr>");            }        }        device.print("</table>\n");    }