Problem on changing Background Color | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Problem on changing Background Color

I used this code to change the JFrame background color~ frame.getContentPane().setBackground(Color.BLUE); But It's not working 😕 Please help me🙏

27th Oct 2020, 7:51 AM
Manash Saikia [ 45% Active ]
Manash Saikia [ 45% Active ] - avatar
1 Answer
+ 2
I don't have any proper knowledge about JavaSE, but here I got something that possibly do the job https://stackoverflow.com/questions/26810323/getcontentpane-setbackground-doesnt-seem-to-work
27th Oct 2020, 8:42 AM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar