return null;
if (!SubstanceRootPaneUI.hasCustomSkinOnAtLeastOneRootPane())
return SubstanceLookAndFeel.getCurrentSkin();
SubstanceComboPopup comboPopup = (SubstanceComboPopup) SwingUtilities
.getAncestorOfClass(SubstanceComboPopup.class, c);
if (comboPopup != null) {
// special case for combobox popup - take the skin
// of the combobox itself - issue 439
return getSkin(comboPopup.getCombobox());
}
JRootPane rootPane = SwingUtilities.getRootPane(c);
if (c instanceof SubstanceInternalFrameTitlePane) {