I'm new to Swing, but have used Java for quite a few years. I have an existing windows based application which displays text. Based on this text I'd like to automate some actions within the windows application. Can this been done using Swing? I've looked at macro programs, but they don't have "logic" in them. I need to be able to make decisions based on what the text is.