Make the two buttons of the Swing interface exclusive