mil.dod.th.ose.gui.integration/src/mil/dod/th/ose/gui/integration/helpers/GeneralHelper.java
public static void sleepWithText(int seconds, String msg) throws IllegalStateException
    {
        LOG.log(Level.INFO, "{0} for {1} seconds...", new Object[] {msg, seconds});
        DebugText.pushText(msg + " " + seconds);
        while (seconds > 0)
        {
            try
            {
                Thread.sleep(1000);
            }
            catch (InterruptedException e)
            {
                throw new IllegalStateException(e);
            }
            seconds--;
            DebugText.replaceText(msg + " " + seconds);
        }
        DebugText.popText();
        LOG.info("Done waiting");
    }
/**
     * Sleep for the given time while placing the give message in the debug area.  Debug area will count down as well.
     */
Sleep for the given time while placing the give message in the debug area.  Debug area will count down as well.
Sleep for the given time while placing the give message in the debug area . Debug area will count down as well .
public static void sleepWithText(int seconds, String msg) throws IllegalStateException
    {
        LOG.log(Level.INFO, "{0} for {1} seconds...", new Object[] {msg, seconds});
        DebugText.pushText(msg + " " + seconds);
        while (seconds > 0)
        {
            try
            {
                Thread.sleep(1000);
            }
            catch (InterruptedException e)
            {
                throw new IllegalStateException(e);
            }
            seconds--;
            DebugText.replaceText(msg + " " + seconds);
        }
        DebugText.popText();
        LOG.info("Done waiting");
    }
public static void sleepWithText ( int seconds , String msg ) throws IllegalStateException { LOG . log ( Level . INFO , "{0} for {1} seconds..." , new Object [ ] { msg , seconds } ) ; DebugText . pushText ( msg + " " + seconds ) ; while ( seconds > 0 ) { try { Thread . sleep ( 1000 ) ; } catch ( InterruptedException e ) { throw new IllegalStateException ( e ) ; } seconds -- ; DebugText . replaceText ( msg + " " + seconds ) ; } DebugText . popText ( ) ; LOG . info ( "Done waiting" ) ; }
Sleep for the given time while placing the give message in the debug area.
Sleep for the given time while placing the give message in the debug area .