JFrame frame = new JFrame();
frame.getContentPane().setBackground(Color.red);
Add background color to JFrame
Guess you like
Origin blog.csdn.net/weixin_45729934/article/details/106120806
Recommended
Ranking