public void paintBackground(Graphics g, JComponent c)
private void paintBackground(Graphics g, JComponent c)
  public void paintBackground(Graphics g, JComponent c)  {    Dimension size = getPreferredSize(c);    Color save = g.getColor();    g.setColor(c.getBackground());    g.fillRect(0, 0, size.width, size.height);    g.setColor(save);  }