org.tbee.swing
Class FoxtrotUtils

java.lang.Object
  extended by org.tbee.swing.FoxtrotUtils

public class FoxtrotUtils
extends Object

Some swing utilites

Version:
$Revision: 1.11 $
Author:
$Author: toeukpap $

Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
FoxtrotUtils()
           
 
Method Summary
static
<V> V
invokeAndWait(Callable<V> callable)
          Simply to get rid of the forced exception handling
static
<V> V
invokeAndWaitConcurrent(Callable<V> callable)
          Simply to get rid of the forced exception handling
static void invokeLater(foxtrot.AsyncTask asyncTask)
          Simply to get rid of the forced exception handling
static void waitForThreadToFinish(Thread thread)
          Wait for a thread to finish extended for Swing (won't block AWT thread).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

FoxtrotUtils

public FoxtrotUtils()
Method Detail

waitForThreadToFinish

public static void waitForThreadToFinish(Thread thread)
Wait for a thread to finish extended for Swing (won't block AWT thread).

Parameters:
thread -
See Also:
nl.knowledgeplaza.util.ThreadUtil.waitForThreadToFinish

invokeLater

public static void invokeLater(foxtrot.AsyncTask asyncTask)
Simply to get rid of the forced exception handling

Parameters:
callable -

invokeAndWait

public static <V> V invokeAndWait(Callable<V> callable)
Simply to get rid of the forced exception handling

Parameters:
callable -
Returns:

invokeAndWaitConcurrent

public static <V> V invokeAndWaitConcurrent(Callable<V> callable)
Simply to get rid of the forced exception handling

Parameters:
callable -
Returns:


Copyright © 2011 KnowledgePlaza. All Rights Reserved.