/**
  * Sets the foreground of the control and its content.
  *
  * @param fg the new foreground color
  */
 @Override
 public void setForeground(Color fg) {
   super.setForeground(fg);
   if (getContent() != null) getContent().setForeground(fg);
 }