+ /*
+ * white fill the space for the scale for correct 'fast paint'
+ * (repainting only changed regions of the image)
+ * (fillRect origin is top left of rectangle)
+ */
+ g.setColor(Color.white);
+ g.fillRect(0, ypos, left ? labelWidthWest : labelWidthEast,
+ (alignment.getHeight() * charHeight));
+
+ for (int i = 0; i < alignment.getHeight(); i++)