/** * Returns the highlight border painter for the specified component. * * @param comp * Component. * @return Highlight border painter for the specified component. * @see SubstanceSkin#getBorderPainter() * @see SubstanceSkin#getHighlightBorderPainter() */ public static SubstanceBorderPainter getHighlightBorderPainter( Component comp) { SubstanceBorderPainter result = SubstanceCoreUtilities.getSkin(comp) .getHighlightBorderPainter(); if (result != null) return result; return getBorderPainter(comp); }
/** * Returns the highlight border painter for the specified component. * * @param comp * Component. * @return Highlight border painter for the specified component. * @see SubstanceSkin#getBorderPainter() * @see SubstanceSkin#getHighlightBorderPainter() */ public static SubstanceBorderPainter getHighlightBorderPainter( Component comp) { SubstanceBorderPainter result = SubstanceCoreUtilities.getSkin(comp) .getHighlightBorderPainter(); if (result != null) return result; return getBorderPainter(comp); }