@Override
  protected void paintComponent(Graphics g) {
    g.setColor(getBackground());
    Dimension size = getSize();
    g.fillRect(0, 0, size.width, size.height);
  }
@Override
  protected void paintComponent(Graphics g)