HI
I have tried the following code on Swing Designer v6.4.0 and v6.4.1(eclipse 3.2 and 3.3).
JPanel jp = new JPanel();
jp.setPreferredSize(new java.awt.Dimension(400,400));
final JButton button = new JButton("button");
button.setPreferredSize(new Dimension(111, 111));
button.setBackground(Color.BLACK);
jp.add(button);
However, non of the versions work for the button.setBackground(Color.BLACK);.It seems just the border color has been changed to black. I am wondering if this is a bug of swing designer? I tried JPanel and JRadioButton, they works for setBackground method...
Looking forward to hearing your reply.
Cheers
Peng