Class GuiTask

All Implemented Interfaces:
Runnable

public abstract class GuiTask extends GuiAction
Understands a task that should be executed in the event dispatch thread.
  • Constructor Details

    • GuiTask

      public GuiTask()
  • Method Details

    • run

      public final void run()
      Runs this task action and verifies that it is executed in the event dispatch thread.
      Throws:
      ActionFailedException - if this task is not executed in the event dispatch thread.
    • executeInEDT

      protected abstract void executeInEDT() throws Throwable
      Specifies the action to execute in the event dispatch thread.
      Throws:
      Throwable - any error thrown when executing an action in the event dispatch thread.