For example:
JLabel label = new JLabel("Foo");
label.setPreferredSize(new Dimension(200, 200));
label.setBorder(BorderFactory.createLineBorder(Color.black, 85));
...
Type: Posts; User: curmudgeon
For example:
JLabel label = new JLabel("Foo");
label.setPreferredSize(new Dimension(200, 200));
label.setBorder(BorderFactory.createLineBorder(Color.black, 85));
...
I don't know the answer to this right off hand, but if I needed to know, one possible way to find out is to create a small test program that checks out what happens with different settings of border...