Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
How can I hide the mouse when I hover it over a JTextField?
I have a JTextField and I wish to make the mouse invisible whenever the user hovers the mouse over it. Basically, make the mouse gone when it is positioned over the JTextField. Is there a way to do this?
I'm making this in Java.
1 Answer
- 8 years agoFavorite Answer
One solution would be to create a transparent image as your cursor. Have you taken a look at the method createCustomCursor ?
See: http://docs.oracle.com/javase/6/docs/api/java/awt/...
Hope this helps.