![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 - Bridge between the Java applet and the text input controls on the web page - Stack Overflow javascript - Bridge between the Java applet and the text input controls on the web page - Stack Overflow](https://i.stack.imgur.com/KiP4C.png)
javascript - Bridge between the Java applet and the text input controls on the web page - Stack Overflow
![How to Write a Mouse-Wheel Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners) How to Write a Mouse-Wheel Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)](https://docs.oracle.com/javase/tutorial/figures/uiswing/events/MouseWheelEventDemo.png)
How to Write a Mouse-Wheel Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)
![How to Write a Focus Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners) How to Write a Focus Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)](https://docs.oracle.com/javase/tutorial/figures/uiswing/events/FocusEventDemoWindow.png)