I have a program that does a lot of automated processing, butoccassionaly needs to halt processing, and prompt the user forinformation, and then continue execution. How can I do this?
Use threads. Your automated processing thread can grab data from a model. Thatmodel will block until it has data to give. So when your thread asks for dataand that data has not yet been input by the user, the thread will be put in await state and not notified until the user has finished entering input. You canread all about threads and monitors at java.sun.com.