Robot Issue
I want to do the following with the java.awt.robot class:
1. Move the mouse so it can click multiple times on one of the arrow buttons on a scrollbar (JTable in a JScrollPane).
2. somehow allow the screen to update itself.
3. use the updated scrollbar and table position values in some calculations
4. double-click a table cell (String value), Select All, and type a new phrase
At the moment, I have it moving the mouse alright (I figured out how to get the ArrowButton objects' locations from the UI object). It clicks and does everything after my initial robot-starting button click event is handled. (One screen update happens at the end of all the processing)
I would like to have the new events processed during the handling of the main button click event. The calcuations that are expected to have new values still have the old values because the GUI won't update them until after the main button press.
I believe the solution is to use threads and to somehow "mess with" the EventDispatcher method. I've tried a bunch of things including using the SwingWorker class, but it doesn't yet work as I would have expected.

