@Override
	// overridden to handle our selected state
	protected void updateBorderBasedOnState() {
		if (isButtonSelected()) {
			return;
		}
		super.updateBorderBasedOnState();
	}
Changes the button's state to the opposite of its current state.  Calling this method 
will also trigger a callback to the button's {@link Action#actionPerformed(ActionEvent)}
method.
Ghidra/Framework/Docking/src/main/java/docking/EmptyBorderToggleButton.java