Wednesday, June 04, 2008

ExtendedRobot

I liked the java.awt.Robot class so I decided to make my ExtendedRobot class and add some functionalities that I used in some of my applications.

Functions added:
  • getMousePosition: returns the mouse position relevant to the screen
  • getCurrentPixelColor: returns the color of the pixel the mouse is pointing at
More is coming, just stay tuned ...!

No comments: