Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mouse slows down program

 
Cameron Miller
Greenhorn
Posts: 13
Chrome Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6587
86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cameron, welcome to CodeRanch!

Please show us an SSCCE that illustrates the problem.
 
Something must be done about this. Let's start by reading this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!