Originally posted by Barry Brashear:
If a swing application is starting a Thread from which it will get data and populate some Swing control after the Thread finishes, how is this accomplished.
It is accomplished the same way any two classes which need to communicate with each other does it. You need a reference from the instance to another -- meaning a way to get from the database object to the swing component.
There is another issue though. The swing utilites are not threads safe. Most operations need to be done from the event dispatching thread. To run something on the event thread, take a peek at the SwingUtilities class -- the invokeLater() and invokeAndWait() methods to be exact.
Henry