swing Swing Workers and the EDT


  • public abstract class SwingWorker<T,V>

  • T - the result type returned by this SwingWorker's doInBackground and get methods.

  • V - the type used for carrying out intermediate results by this SwingWorker's publish and process methods.

  • T doInBackground() - The abstract function that must be overridden.Return type is T.