I have an undecorated frame and开发者_StackOverflow中文版 I want to change the background color for it. How to do that?
myFrame.getContentPane().setBackground(Color.red);
I have an undecorated frame and开发者_StackOverflow中文版 I want to change the background color for it. How to do that?
myFrame.getContentPane().setBackground(Color.red);
精彩评论