diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-26 18:28:49 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-26 18:28:49 +0000 |
| commit | 9bb289997f5dcc33d995b5c1f6fa3cdf81213287 (patch) | |
| tree | 38836abfba1121a09b6a61eda8c22ce850187514 /libjava/java | |
| parent | 20c4e896779999a1a77b66918a18a2379a2b5fe3 (diff) | |
| download | ppe42-gcc-9bb289997f5dcc33d995b5c1f6fa3cdf81213287.tar.gz ppe42-gcc-9bb289997f5dcc33d995b5c1f6fa3cdf81213287.zip | |
* java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
static way.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98785 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
| -rw-r--r-- | libjava/java/awt/Robot.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libjava/java/awt/Robot.java b/libjava/java/awt/Robot.java index 23b6f810442..8741b89b450 100644 --- a/libjava/java/awt/Robot.java +++ b/libjava/java/awt/Robot.java @@ -394,10 +394,9 @@ public class Robot throw new IllegalThreadStateException ("Robot: waitForIdle called from " + "the event dispatch thread"); - EventQueue q = Toolkit.getDefaultToolkit ().getSystemEventQueue (); try { - q.invokeAndWait (new Runnable () { public void run () { } }); + EventQueue.invokeAndWait (new Runnable () { public void run () { } }); } catch (InterruptedException e) { |

