Skip to main content
gamedev.net
🔒 Locked

[java] Centering mouse

Started by guivieira May 13, 2004 at 3:43 PM 1 replies 600+ views
Original Post
guivieira
guivieira
Hi guys.. How can center the cursor over a frame, an opengl context? Thank you
Reillz
Reillz
using the java.awt.Robot class you can dont think it will work in an applet though... the Robot class allows you to set the mouse coordinates to an x,y position on the screen
Koroljov
Koroljov
Didn''t I answer the same question yesterday?
Why do my programs never work on other computers?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.