JThreadKitTM
v1.1.0
(public members only)

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.
 
Method Summary
static void execute(Runnable backgroundTask, Runnable eventTask)
           
static void execute(SwingHelper.Task task)
          Executes the specified task in the background.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.

JThreadKitTM
v1.1.0
(public members only)

© Copyright 2000-2001 Programix Incorporated. All rights reserved. JThreadKit home