jbutton remove selection border

yourJButton.setFocusPainted(false);