java mouse location -


is there way of getting x co-ordinate or y co-ordinate form

mouseinfo.getpointerinfo().getlocation() 

??? pretty easy:

point point = mouseinfo.getpointerinfo().getlocation(); double x = point.getx(); double y = point.gety(); 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -