@Override
    public void setComponentEnabled(boolean enabled) {
        super.setComponentEnabled(enabled);

        boolean enable = enabled && getTable().getSelectionModel().getMinSelectionIndex() >= 0;
        if (enable) {
            updateMoveButtons();
        } else {
            disableMoveButtons();
        }
    }
@ Override public void setComponentEnabled ( boolean enabled ) { super . setComponentEnabled ( enabled ) ; boolean enable = enabled && getTable ( ) . getSelectionModel ( ) . getMinSelectionIndex ( ) >= 0 ; if ( enable ) { updateMoveButtons ( ) ; } else { disableMoveButtons ( ) ; } }
{@inheritDoc}
<p>
Overridden to also enable/disable the "move" buttons ("Top", "Up", "Down" and "Bottom").