Package VASSAL.tools

Class BackgroundTask

java.lang.Object
VASSAL.tools.BackgroundTask

@Deprecated
public abstract class BackgroundTask
extends Object
Deprecated.
Use SwingWorker now that we ship the JAR for it.
Utility task for starting a thread that performs one task, doFirst(), then queues another another task, doLater(), for the Event Handler thread to execute This is basically a simple version of Sun's SwingWorker class.
  • Constructor Details

    • BackgroundTask

      public BackgroundTask()
      Deprecated.
  • Method Details

    • doFirst

      public abstract void doFirst()
      Deprecated.
    • doLater

      public abstract void doLater()
      Deprecated.
    • start

      public Thread start()
      Deprecated.