Hi,
I have a swing application. The look and feel for that application is WINDOWS LOOK AND FEEL. I have a JButton in it. When i try to set the color for JButton using
JButton button = new JButton("OK");
button.setBackground(Color.GREEN);
But i am not getting the color in Button. Same code works if i just change the look and feel to defalt
java look and feel.