This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I'm having trouble getting the JApplet to change it's background color. I'm using the current OS's "Look and Feel", and try to change the background colour by doing getContentPane().setBackgroundcolor( Color.white) but it refuses to change it.
I have a few JLabels and a few JButtons that are also being drawn with ImageIcon labels that need their background colour to be congruent with the pane's.
I need their background color to be congruent with the pane's background color (white). I'm doing setContentAreaFilled(false); on the buttons to make sure only the ImageIcons are drawn.
Any ideas why this isn't working?
The difference between <b>failure</b> and <b>success</b> is often being <b>right</b> and being <b>exactly right</b>.