public void process()
    {
        if( status == ANIM_PLAY )
            // selection cursor animation, loopeable
            if( System.currentTimeMillis() - timer > delay )
            {
                if( loop )
                {
                    if( play_backwards ) frame--;
                    else frame++;
                    if( frame == max_frame - 1 ) play_backwards = true;
                    if( frame == 0 )
                    {
                        play_backwards = false;
                        if( once ) stop();
                    }
                }
                else
                {
                    frame++;
                    if( frame == max_frame - 1)
                    {
                        if( once ) pause(); else rewind();
                    }
                }

                timer = System.currentTimeMillis();
            }
    }