protected void paintComponent(Graphics g) {
super.paintComponent(g);
for (int c = 0; c < 20; c++) {
for (int r = 0; r < 10; r++) {
HueRectangle rect = rects[c][r];
Color color = rect.getHueEntry().getColorTable()[31];
g.setColor(color);
g.fillRect(rect.x, rect.y, rect.width, rect.height);
}
}