public void actionPerformed(ActionEvent e)
    {
        String groupName = e.getActionCommand();
        FadeState fadeState = timers.get(groupName);

        if (fadeState.interpolator.hasNext())
        {
            Color color = fadeState.interpolator.next();

            fadeState.target.changeColor(color);
            fadeState.timer.setInitialDelay(0);
            fadeState.timer.restart();
        }
    }
public void actionPerformed ( ActionEvent e ) { String groupName = e . getActionCommand ( ) ; FadeState fadeState = timers . get ( groupName ) ; if ( fadeState . interpolator . hasNext ( ) ) { Color color = fadeState . interpolator . next ( ) ; fadeState . target . changeColor ( color ) ; fadeState . timer . setInitialDelay ( 0 ) ; fadeState . timer . restart ( ) ; } }
{@inheritDoc}