'how to resize/fit image in jframe?

I just wanted to know how to simply fit the logo in the desired size. Disclaimer: this is just a bootleg program.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source