![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)
![javascript - Chrome: Auxiliary Click Event with Middle Mouse Button not fired if page is scrollable - Stack Overflow javascript - Chrome: Auxiliary Click Event with Middle Mouse Button not fired if page is scrollable - Stack Overflow](https://i.stack.imgur.com/Y7qTA.png)
javascript - Chrome: Auxiliary Click Event with Middle Mouse Button not fired if page is scrollable - Stack Overflow
![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)
How to Write a Mouse-Motion Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)
![Mouse Events. Handling Mouse Events Java provides two listener interfaces to handle mouse events: MouseListener; MouseListener; MouseMotionListener. - ppt download Mouse Events. Handling Mouse Events Java provides two listener interfaces to handle mouse events: MouseListener; MouseListener; MouseMotionListener. - ppt download](https://images.slideplayer.com/22/6390782/slides/slide_2.jpg)