public class SwingBlockUtil
extends java.lang.Object
I consider this a mild hack. This class may be incompatible with future versions of Java if the AWT event mechanism is altered. It may also not work happily with non-Sun based implementations of Java.
Constructor | Description |
---|---|
SwingBlockUtil() |
Modifier and Type | Method | Description |
---|---|---|
void |
block() |
Utility that blocks the Swing EventDispatchThread, and then emulates the
inner loop of the dispatcher thread itself.
|
void |
unblock() |
Unblocks any call to the 'block' method.
|
public void block()
public void unblock()
Copyright © 2018. All rights reserved.