0

I am writing a little Pong game using Java's Swing.

I would like to make the mouse disappear after a few seconds if it stands still above the JPanel I am drawing on, and reappear when it is moved.

Is there a way to do this in Java's Swing?

maddingl
  • 197
  • 4
  • 20
  • Try looking here: https://stackoverflow.com/questions/1984071/how-to-hide-cursor-in-a-swing-application – markspace Jan 24 '18 at 17:59
  • You can find the solution for this question here: https://stackoverflow.com/questions/1984071/how-to-hide-cursor-in-a-swing-application – justcode Jan 24 '18 at 18:02

0 Answers0