title: How do I set a JLabel's background color?
body: <p>In my <code>JPanel</code>, I set the background of a <code>JLabel</code> to a different color. I can see the word "Test" and it's blue, but the background doesn't change at all. How can I get it to show?</p>
  
  <pre><code>this.setBackground(Color.white);
  JLabel label = new JLabel("Test");
  label.setForeground(Color.blue);
  label.setBackground(Color.lightGray);
  this.add(label);
  </code></pre>