g.translate(insets().left, insets().top);
if (width == 0) {
Insets inset = insets();
width = (size().width - inset.right - inset.left) / 3;
height = (size().height - inset.top - inset.bottom) / 5;
}
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 5; j++) {
if ((i == 2) && (j >= 3)) break;
g.setColor (colors[i*5+j]);
g.fillRect (i*width, j*height, width, height);
}
}