private static void paintBackground(Graphics g, ThumbnailComponent tc) {
    Dimension size = tc.getSize();
    g.setColor(tc.getBackground());
    g.fillRect(0, 0, size.width, size.height);
  }
private static void paintBackground(Graphics g, ThumbnailComponent tc)