Search:

Type: Posts; User: DanBrown

Search: Search took 0.10 seconds.

  1. Replies
    10
    Views
    2,222

    Re: Updating timer

    this is calling run method of thread.

    What you can do is make a global flag which will be true when you click on start button and will be false when you click on stop button.

    and in run

    put...
  2. Replies
    10
    Views
    2,222

    Re: Updating timer

    the code written above says that change the time elapsed only when someone click on the button.

    the above line will be execute only once after clicking on the button b4.

    Your thread is not...
Results 1 to 2 of 2