Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Cameron Evans   on Aug 24 In Java Category.

  
Question Answered By: Calais Bernard   on Aug 24

Use threads. Your automated  processing thread can grab data from a model. That
model will block until it has data to give. So when your thread asks for data
and that data has not yet been input by the user, the thread will be put in a
wait state and not notified until the user  has finished entering input. You can
read all about threads and monitors at java.sun.com.

Share: