background color and text color

I'm writing an applet.
I'm using a GridLayout and I need:
1. to set the background to black
2. to set the text color to white (I'm using Labels in the GridLayout)
LVL 1
websolutionAsked:
Who is Participating?
 
rrzConnect With a Mentor Commented:
setBackground(Color.black);
setForeground(Color.white);
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.