.getComponentOrientation().isLeftToRight() : window
.getComponentOrientation().isLeftToRight();
int width = this.getWidth();
int height = this.getHeight();
SubstanceSkin skin = SubstanceCoreUtilities.getSkin(rootPane);
if (skin == null) {
SubstanceCoreUtilities
.traceSubstanceApiUsage(this,
"Substance delegate used when Substance is not the current LAF");
}
SubstanceColorScheme scheme = skin
.getEnabledColorScheme(DecorationAreaType.PRIMARY_TITLE_PANE);
int xOffset = 0;
String theTitle = this.getTitle();