style jbutton java code example Example: style jbuttons btn.setBorderPainted(false); btn.setFocusPainted(false);