This is the line of code that I'm not sure is valid or not: JButton button1 = new JButton(new ImageIcon("Pictures/smiley.png"));
I am using GridBagLayout so I'm not sure whether it has anything to do with that.
What happens is it just causes the button to become thinner in height, and the...