jQuery in Action, 3rd edition
The moose likes Game Development and the fly likes Mouse slows down program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "Mouse slows down program" Watch "Mouse slows down program" New topic

Mouse slows down program

Cameron Miller

Joined: Jan 10, 2013
Posts: 13

I am creating a game in java based on a runnable thread and Graphics. It also implements mouse listener.
Even though it does not implement mouse motion listener when i move the mouse it slows down the program.
Is there a way to get java to completely ignore the interuptts produced when the mouse is moved?
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 4597

Cameron, welcome to CodeRanch!

Please show us an SSCCE that illustrates the problem.

The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
I agree. Here's the link: http://aspose.com/file-tools
subject: Mouse slows down program
It's not a secret anymore!