Formatting tweaks I had laying around.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2299 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2008-04-30 21:06:38 +00:00
parent 104d861719
commit 8b06f28a9e
+4 -9
View File
@@ -27,18 +27,13 @@ import java.awt.EventQueue;
*/ */
public interface RunQueue public interface RunQueue
{ {
/** /** A useful RunQueue that uses the AWT dispatch thread. */
* A useful RunQueue that uses the AWT dispatch thread. public static final RunQueue AWT = new RunQueue() {
*/ public void postRunnable (Runnable r) {
public static final RunQueue AWT = new RunQueue()
{
public void postRunnable (Runnable r)
{
EventQueue.invokeLater(r); EventQueue.invokeLater(r);
} }
public boolean isDispatchThread () public boolean isDispatchThread () {
{
return EventQueue.isDispatchThread(); return EventQueue.isDispatchThread();
} }
}; };