Utils.innerPreferredSize(device, component.getPreferredSize());
Utils.printInnerPreferredSize(device, component.getPreferredSize());
    public void writeContent(final Device device, final SComponent component)            throws java.io.IOException {        STabbedPane tabbedPane = (STabbedPane) component;        String style = component.getStyle();        boolean childSelectorWorkaround = !component.getSession().getUserAgent().supportsChildSelector();        int placement = tabbedPane.getTabPlacement();        device.print("<table cellspacing=\"0\"");        if (childSelectorWorkaround)            Utils.childSelectorWorkaround(device, style);        Utils.innerPreferredSize(device, component.getPreferredSize());        Utils.writeEvents(device, component);        device.print(">");        if (placement == STabbedPane.TOP)            device.print("<tr><th placement=\"top\"");        else if (placement == STabbedPane.LEFT)            device.print("<tr><th placement=\"left\"");        else if (placement == STabbedPane.RIGHT)            device.print("<tr><td");        else if (placement == STabbedPane.BOTTOM)            device.print("<tr><td");        if (childSelectorWorkaround) {            if (placement == STabbedPane.TOP)                Utils.childSelectorWorkaround(device, "top");            else if (placement == STabbedPane.LEFT)                Utils.childSelectorWorkaround(device, "left");            else                Utils.childSelectorWorkaround(device, "pane");        }        device.print(">");        if (placement == STabbedPane.TOP || placement == STabbedPane.LEFT)            writeTabs(device, tabbedPane);        else            writeSelectedPaneContent(device, tabbedPane);        if (placement == STabbedPane.TOP)            device.print("</th></tr><tr><td");        else if (placement == STabbedPane.LEFT)            device.print("</th><td");        else if (placement == STabbedPane.RIGHT)            device.print("</td><th placement=\"right\"");        else if (placement == STabbedPane.BOTTOM)            device.print("</td></tr><tr><th placement=\"bottom\"");        if (childSelectorWorkaround) {            if (placement == STabbedPane.RIGHT)                Utils.childSelectorWorkaround(device, "right");            else if (placement == STabbedPane.BOTTOM)                Utils.childSelectorWorkaround(device, "bottom");            else                Utils.childSelectorWorkaround(device, "pane");        }        device.print(">");        if (placement == STabbedPane.TOP                || placement == STabbedPane.LEFT) {            writeSelectedPaneContent(device, tabbedPane);            device.print("</td></tr></table>");        } else {            writeTabs(device, tabbedPane);            device.print("</th></tr></table>");        }    }