Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Thread: how to set timer

    by Norm
    Replies
    3
    Views
    4,171

    Re: how to set timer

    You can get the system time from a method in the System class.

    None of the timers I know of set a flag. They call a method when the time expires. It is up to the programmer to write code to do...
  2. Thread: how to set timer

    by Norm
    Replies
    3
    Views
    4,171

    Re: how to set timer

    Which timer are you going to use? There are two. The recommended one is javax.swing.Timer.
    Read the class's API doc. It has an example.
    Or go to: The Really Big Index
    and search for Timer
Results 1 to 2 of 2