I’m creating a Uno game using java’s Swing framework for my GUI elements. I have a JPanel, and I’m drawing a InageIcon on it using Graphics.drawImage() method in a custom paintComponent() method. However, when I run my application, my images are so small that they are barely visible. I’ve tried everything that I can think of, but nothing is working. I don’t want to use Jlabels. My code is at https://github.com/samarth466/accessible_games. The piece of code that I’m trying to debug is in src/uno directory. Any help would be appreciated!
2