A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Difference between Robot & EventQueue class?
Joined: Oct 11, 2005
Mar 30, 2011 01:59:26
We can use both Robot class & Event Queue to trigger AWT events.
What is the difference between these two approach?
Which is the best one to use?
What is the ideal scenario to use these classes?
Joined: Oct 27, 2005
Mar 30, 2011 03:38:01
can only create events for the current
application. The mouse and key events generated by Robot are sent through the operating system and can therefore send events to any application, as long as it's visible on the desktop.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Difference between Robot & EventQueue class?
nested class and inner class
difference between abstract class and an interface
abstract class and interface
difference between Action,ActionServlet class
difference b/w interface and class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014