// ensuring faster performance.
ActionList animate = new ActionList(200);
animate.add(new ColorAnimator(FOCUS, VisualItem.FILLCOLOR));
animate.add(new ColorAnimator(LABELS, VisualItem.TEXTCOLOR));
animate.add(new RepaintAction());
animate.addActivityListener(new ActivityAdapter() {
public void activityCancelled(Activity a) {
// if animation is canceled, set colors to final state
update.run(1.0);
}
});