![How to Write a Mouse Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners) How to Write a Mouse Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)](https://docs.oracle.com/javase/tutorial/figures/uiswing/events/MouseEventDemo.png)
How to Write a Mouse Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)
![c++ - How do I get my cursor's position with respect to the window using graphics.h? - Stack Overflow c++ - How do I get my cursor's position with respect to the window using graphics.h? - Stack Overflow](https://i.stack.imgur.com/lrEkZ.png)
c++ - How do I get my cursor's position with respect to the window using graphics.h? - Stack Overflow
![Creating a rounded rectangle > Working with Basic Shapes in Adobe Illustrator CC (2014 release) | Adobe Press Creating a rounded rectangle > Working with Basic Shapes in Adobe Illustrator CC (2014 release) | Adobe Press](https://www.adobepress.com/content/images/exc01_9780133905656/elementLinks/th03fig10.jpg)
Creating a rounded rectangle > Working with Basic Shapes in Adobe Illustrator CC (2014 release) | Adobe Press
![How to Write a Mouse-Motion Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners) How to Write a Mouse-Motion Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)](https://docs.oracle.com/javase/tutorial/figures/uiswing/events/MouseMotionEventDemo.png)