aspose file tools
The moose likes Game Development and the fly likes Mouse slows down program Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Game Development
Reply Bookmark "Mouse slows down program" Watch "Mouse slows down program" New topic
Author

Mouse slows down program

Cameron Miller
Greenhorn

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
Bartender

Joined: Sep 20, 2010
Posts: 3044
    
    1

Cameron, welcome to CodeRanch!

Please show us an SSCCE that illustrates the problem.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Mouse slows down program
 
Similar Threads
JtableHeader with two separate listeners, one for each component : classic label and extra checkbox
Trouble with repainting Jframe (i think)
SWT: how do differ between single and double click?
Package import statement
Slow highlighting of jar, zip files clicked in Windows ME