Win a copy of Learn Spring Security (video course) this week in the Spring 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: 5334
48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cameron, welcome to CodeRanch!

Please show us an SSCCE that illustrates the problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic