#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    86
    Rep Power
    0

    Multi- threading


    good day ...
    a having problem in my task .... can you help me how to manipulate the running thread .... i want to add enter key in the middle of the thread how can i stop and continue it
    plss help me thanks
  2. #2
  3. Contributing User
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Aug 2010
    Location
    Eastern Florida
    Posts
    3,719
    Rep Power
    348
    how can i stop and continue it
    Calling a modal dialog will stop a thread until the user responds.
  4. #3
  5. Java Junkie
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Feb 2004
    Location
    Mobile, Alabama
    Posts
    4,022
    Rep Power
    1285
    Originally Posted by lhon12006
    good day ...
    a having problem in my task .... can you help me how to manipulate the running thread .... i want to add enter key in the middle of the thread how can i stop and continue it
    plss help me thanks
    You can use a KeyListener and wait and notifyAll
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    86
    Rep Power
    0
    thanks for the reply ....


    sir can you give me some sample of keylistener .... thanks

IMN logo majestic logo threadwatch logo seochat tools logo