private void startLoadingAnimation(final String msg, int delayMillis) {

        m_loadingTimer = new Timer() {

            @Override
            public void run() {

                createLoadingAnimation(msg);
            }
        };
        if (delayMillis > 0) {
            m_loadingTimer.schedule(delayMillis);
        } else {
            m_loadingTimer.run();
        }
    }
private void startLoadingAnimation ( final String msg , int delayMillis ) { m_loadingTimer = new Timer ( ) { @ Override public void run ( ) { createLoadingAnimation ( msg ) ; } } ; if ( delayMillis > 0 ) { m_loadingTimer . schedule ( delayMillis ) ; } else { m_loadingTimer . run ( ) ; } }
Starts the loading animation.<p>

Used while client is loading files from hard disk into memory.<p>

@param msg the message that should be displayed below the loading animation (can also be HTML as String)
@param delayMillis the delay to start the animation with