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.