I can easily control a console based app with the input and output streams from Java's Runtime.exec()
method. How would I control a GUI based application in the same manner. I have looked at the Robot class, but there is no way for me to control one application programmatically. Is there another Java library, or even another language's library that would allow me to spawn a GUI application and then be able to control that application?
If you mean Java GUIs, then there's WindowLicker, which is designed around testing, but should be just as good for driving .