|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmusic.SwingRunner
public abstract class SwingRunner
Convenience class to run Runnable objects on the Event Dispatch Thread. This is just a hack to work around Swing's total non-thread-safe-ness.
Constructor Summary | |
---|---|
SwingRunner()
|
Method Summary | |
---|---|
static java.lang.Throwable |
run(java.lang.Runnable r)
If this thread is the Event Dispatch Thread, simply do r.run(). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwingRunner()
Method Detail |
---|
public static java.lang.Throwable run(java.lang.Runnable r)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |