potatoes and carrots no bones
Sunday, May 18, 2014
Get X/Y Position of Mouse Cursor in Java
Simple Note
Use java.awt.MouseInfo as below:
MouseInfo.getPointerInfo().getLocation().getX(); MouseInfo.getPointerInfo().getLocation().getY();
Reference
Get Mouse Position
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment