List of usage examples for javax.swing JButton setBorderPainted
@BeanProperty(visualUpdate = true, description = "Whether the border should be painted.") public void setBorderPainted(boolean b)
borderPainted
property. From source file:wsattacker.sso.openid.attacker.gui.MainGui.java
private void removeBackgroundFromButton(JButton button) { button.setHorizontalAlignment(SwingConstants.LEFT); button.setBorder(null);/* w w w. ja v a 2s. c o m*/ button.setBorderPainted(false); button.setContentAreaFilled(false); }