![Creating the Demo Application (Step 3) (The Java™ Tutorials > Creating a GUI With Swing > Performing Custom Painting) Creating the Demo Application (Step 3) (The Java™ Tutorials > Creating a GUI With Swing > Performing Custom Painting)](https://docs.oracle.com/javase/tutorial/figures/uiswing/painting/swing3.png)
Creating the Demo Application (Step 3) (The Java™ Tutorials > Creating a GUI With Swing > Performing Custom Painting)
![swing - How to insert an event to the beginning of Event Dispatch Thread queue in java? - Stack Overflow swing - How to insert an event to the beginning of Event Dispatch Thread queue in java? - Stack Overflow](https://i.stack.imgur.com/5ctPi.png)
swing - How to insert an event to the beginning of Event Dispatch Thread queue in java? - Stack Overflow
![How to Write an Internal Frame Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners) How to Write an Internal Frame Listener (The Java™ Tutorials > Creating a GUI With Swing > Writing Event Listeners)](https://docs.oracle.com/javase/tutorial/figures/uiswing/events/InternalFrameEventDemo.png)
How to Write an Internal Frame 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)