for (int i = 0; i < colors.length; i++) {
int r = (int) Math.min(i * magic, 0xff);
int g = (int) Math.min((100 - i) * magic, 0xff);
int b = 0;
colors[i] = new Color(r, g, b);
icons[i] = new DotIcon(10, colors[i]);
// LOG.info(i + " = " + Integer.toHexString(r) + " " +
// Integer.toHexString(g));
}
}