protected void update() {
super.update();
dropShadowDecorator.setShadowOpacity(1.0f - getPercentComplete());
Component component = getComponent();
Container parent = component.getParent();
if (parent != null) {
parent.repaint(component.getDecoratedBounds());
}
}