开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜