A custom Java mouse cursor that displays the mouse XY coordinates
By Alvin Alexander. Last updated: July 31 2016
Java mouse FAQ: How do I create a custom Java mouse cursor (mouse pointer)?
For my Java/Swing XY mouse position/coordinates application I finally dug into Swing and figured out how to create a Java mouse cursor that shows the X/Y position (coordinates) of the mouse cursor at any moment in time. I can't figure the right way to word that, so it may not make sense, but hopefully this picture of what I've done will help demonstrate my custom Java mouse cursor: