org.wings.plaf.Utils.write(device, title);
Utils.write(device, title);
    private void writeTabs(Device device, STabbedPane tabbedPane) throws IOException {        boolean childSelectorWorkaround = !tabbedPane.getSession().getUserAgent().supportsCssChildSelector();        boolean showAsFormComponent = tabbedPane.getShowAsFormComponent();        boolean konquerorWorkaround = "Konqueror".equals(tabbedPane.getSession().getUserAgent().getBrowserName());        for (int i = 0; i < tabbedPane.getTabCount(); i++) {            SIcon icon = tabbedPane.getIconAt(i);            String title = tabbedPane.getTitleAt(i);            String tooltip = tabbedPane.getToolTipText();            if (konquerorWorkaround)                title = nonBreakingSpaces(title);            if (showAsFormComponent)                device.print("<button name=\"")                        .print(Utils.event(tabbedPane))                        .print("\" value=\"")                        .print(i)                        .print("\"");            else                device.print("<a href=\"")                        .print(tabbedPane.getRequestURL()                        .addParameter(Utils.event(tabbedPane) + "=" + i).toString())                        .print("\"");            if (i == tabbedPane.getSelectedIndex()) {                device.print(" selected=\"true\"");                if (tabbedPane.isFocusOwner())                    org.wings.plaf.Utils.optAttribute(device, "focus", tabbedPane.getName());            }            if (!tabbedPane.isEnabledAt(i))                device.print(" disabled=\"true\"");            if (childSelectorWorkaround) {                if (i == tabbedPane.getSelectedIndex())                    Utils.childSelectorWorkaround(device, "selected");                if (!tabbedPane.isEnabledAt(i))                    Utils.childSelectorWorkaround(device, "disabled");            }            device.print(">");            if (icon != null && tabbedPane.getTabPlacement() != STabbedPane.RIGHT) {                device.print("<img");                org.wings.plaf.Utils.optAttribute(device, "src", icon.getURL());                org.wings.plaf.Utils.optAttribute(device, "alt", tooltip);                org.wings.plaf.Utils.optAttribute(device, "width", icon.getIconWidth());                org.wings.plaf.Utils.optAttribute(device, "height", icon.getIconHeight());                device.print("/>&nbsp;");            }            org.wings.plaf.Utils.write(device, title);            if (icon != null && tabbedPane.getTabPlacement() == STabbedPane.RIGHT) {                device.print("&nbsp;<img");                org.wings.plaf.Utils.optAttribute(device, "src", icon.getURL());                org.wings.plaf.Utils.optAttribute(device, "alt", tooltip);                org.wings.plaf.Utils.optAttribute(device, "width", icon.getIconWidth());                org.wings.plaf.Utils.optAttribute(device, "height", icon.getIconHeight());                device.print("/>");            }            if (showAsFormComponent)                device.print("</button>\n");            else                device.print("</a>\n");        }    }