开发者

How do I change the background color in the undecorated frame?

开发者 https://www.devze.com 2023-04-02 02:40 出处:网络
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);
0

精彩评论

暂无评论...
验证码 换一张
取 消