spin.demo
Class Assert

java.lang.Object
  extended by spin.demo.Assert

public class Assert
extends java.lang.Object

Utility class to assert correct thread handling.


Method Summary
static void offEDT()
          Must be executed off the EDT.
static void onEDT()
          Must be executed on the EDT.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

onEDT

public static void onEDT()
Must be executed on the EDT.


offEDT

public static void offEDT()
Must be executed off the EDT.