Robot patchlet

Thomas Fitzsimmons fitzsim@redhat.com
Tue Apr 26 18:09:00 GMT 2005


On Tue, 2005-04-26 at 18:21 +0200, Michael Koch wrote:
> On Tue, Apr 26, 2005 at 11:00:14AM -0600, Tom Tromey wrote:
> > Tom F. --
> > 
> > I noticed last night that Robot calls a static method, invokeAndWait,
> > in a non-static way.  This is ok, but a little bit confusing.  I want
> > to check in the appended, what do you think?  Is there some reason to
> > find the system event queue here?
> 
> When looking into the source of GtkToolkit.getSystemEventQueue() you see that it
> creates an event queue if there is none. I dont know if its garanteed that an
> system event queue exists already at this place. Just food for thinking.
> 

invokeAndWait calls Toolkit.getDefaultToolkit().getSystemEventQueue()
anyway.  Tom: this patch looks fine to me.

Thanks,
Tom




More information about the Java-patches mailing list