TabPlacement tabPlacement = getTabPlacement(tabbedPane);
boolean verticalPlacement = TabPlacement.LEFT.equals(tabPlacement) || TabPlacement.RIGHT.equals(tabPlacement);
if (verticalPlacement) {
writeAttribute(writer, "height", "100%");
}
TabSet innerTabSet;
if (isMirrorTabSet) {
innerTabSet = tabbedPane.getMirrorTabSet();
} else {
innerTabSet = tabbedPane.getTabSet();
}
initInnerTabSet(tabbedPane, innerTabSet, subPanels, isMirrorTabSet);
innerTabSet.encodeAll(context);
}