protected void paintBackground(Graphics2D g, int x, int width, int height) {
    g.setColor(getBackground());
    g.fillRect(x, 0, width, height);
  }
protected void paintBackground(Graphics2D g, int x, int width, int height)