GradientPaint gradient = addGradient(this, g2, g2.getBackground(), g2.getColor(), "0");
final float glow = isIndeterminate() ? JProgressMemory.glow : 1f;
g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, glow));
Paint paint = g2.getPaint();
g2.setPaint(gradient);
g2.fillRoundRect(bounds.x, bounds.y, bounds.width, bounds.height, arc, arc);
g2.setPaint(paint);
draw(g2, this, colors[0], overallBar);
g2.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, Math.max(0f, glow - 0.3f)));
draw(g2, memory_init, colors[1], initBar);
draw(g2, memory_committed, colors[2], committedBar);