Straight line as buttonborder
Brought to you by:
kcrca
JFrame jf = new JFrame();
JButton jb = new JButton("a button");
//jb.setBorder(BorderFactory.createTitledBorder(""));
jf.getContentPane().add(jb);
jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jf.pack();
jf.setVisible(true);
without the setborder the Napkin LAF shows straight
lines for this button!
with the setborder everything seems allright