JButton remove border inside code example Example: remove button default border css button:focus { outline: none; }