How-to articles, tricks, and solutions about SWING
How to add an image to a JPanel?
In Java, you can add an image to a JPanel using the drawImage() method of the Graphics class. To do this, you will need to:
How to programmatically close a JFrame
To programmatically close a JFrame in Java, you can use the dispose method.
Java GUI frameworks. What to choose? Swing, SWT, AWT, SwingX, JGoodies, JavaFX, Apache Pivot?
There are several Java GUI frameworks available, each with its own strengths and weaknesses.
Popup Message boxes
A pop-up message box is a small window that appears on a computer screen to display a message or prompt the user to take a specific action.