Class Stopwatch.Timer

    • Field Detail

      • m_Running

        protected boolean m_Running
        whether the thread is running.
    • Constructor Detail

      • Timer

        public Timer​(Stopwatch.StopwatchPanel owner)
        Initializes the timer.
        Parameters:
        owner - the panel this timer belongs to
    • Method Detail

      • run

        public void run()
        Runs the timer.
        Specified by:
        run in interface Runnable
      • stop

        public void stop()
        Stops the timer.