[Solved] Java Swings Auto-Resize Pictures
One way is to override the paintComponent(…) method of a JPanel to paint the image using the drawImage(….) method. Another option is use a JLabel with an Icon as the background for the frame. Then you can use the Stretch Icon which will automatically scale based on the space available to the label. This is … Read more