Activity Color Cycle with Java class Swing