int columns = getInteger(component, "columns", 0);
int rows = getInteger(component, "rows", 0); // 'e' -> 'm' ?
Font currentfont = (Font) get(component, "font");
FontMetrics fm = getFontMetrics((currentfont != null) ? currentfont : font);
return new Dimension(
((columns > 0) ? (columns * fm.charWidth('e') + 2) : 76) + 2 + block,
((rows > 0) ? (rows * fm.getHeight() - fm.getLeading() + 2) : 76) + 2 + block);
}
if ("tabbedpane" == classname) {
String placement = getString(component, "placement", "top");
boolean horizontal = ((placement != "left") && (placement != "right"));