com.jthreadkit.swing
Class SwingHelper
java.lang.Object
|
+--com.jthreadkit.swing.SwingHelper
- public class SwingHelper
- extends Object
|
Inner Class Summary |
static class |
SwingHelper.Task
This class should be subclassesed to create a task
to be passed to the execute(Task) method of SwingHelper. |
execute
public static void execute(Runnable backgroundTask,
Runnable eventTask)
- Parameters:
backgroundTask - a bundle of work to be done in the background
by a helper thread.eventTask - a bundle of work that will be passed off for the
event thread to run.
execute
public static void execute(SwingHelper.Task task)
- Executes the specified task in the background.
© Copyright 2000-2001 Programix Incorporated. All rights reserved. JThreadKit home