This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Robot patchlet


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]