I have a GUI which consists of a toolbar with each button invoking different classes. The class I invoke consist of UI components which are displayed in the Internal frame of the main GUI. The Invoked class works as a separate thread and has to perform the following functions.
I am new to Swing worker, so can some one help me to get how it works with my situation and the advantages of using Swing Worker and Invoke later function. I followed the examples in the oracle site and few other sites but I am not able to see how this works for my classes.
SwingWorker
has...
PropertyChange
supportpublish
and process
methods, making the process significantly easier...For example...
JTable
from a SQL source, but shows how a SwingWorker
might be used to update a JTable
)One of the (possible) drawbacks to SwingWorker
is it will only allow (I believe) 10 workers to be executed simultanously