com.azalient.api.event.ui
Interface Runnable2


public interface Runnable2

An interface to be passed to a method that spawns a swing worker. The worker task passed in might be sizeable, and will be run in the SwingWorker thread, after the method's own task has completed.

The GUI task will be executed in the Swing Event Dispatch Thread after both tasks have been completed.

See Also:
Runnable

Method Summary
 void runGUI(boolean result)
          Run the "GUI" task
 void runWorker(boolean result)
          Run the "worker" task
 

Method Detail

runWorker

void runWorker(boolean result)
Run the "worker" task


runGUI

void runGUI(boolean result)
Run the "GUI" task