protected void paintBorder(Graphics g) {
if (SubstanceCoreUtilities.isButtonNeverPainted(this)) {
return;
}
TransitionAwareUI transitionAwareUI = (TransitionAwareUI) this.getUI();
StateTransitionTracker stateTransitionTracker = transitionAwareUI
.getTransitionTracker();
StateTransitionTracker.ModelStateInfo modelStateInfo = stateTransitionTracker
.getModelStateInfo();
Map<ComponentState, StateTransitionTracker.StateContributionInfo> activeStates = modelStateInfo
.getStateContributionMap();