|
@@ -24,7 +24,7 @@ public class Controls extends JPanel implements Observer
|
|
|
this.setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
|
|
|
this.setPreferredSize(new Dimension(1280,75));
|
|
|
this.setMinimumSize(new Dimension(320, 75));
|
|
|
- ImageIcon icon1 = new ImageIcon("resources/playbutton.jpg");
|
|
|
+ ImageIcon icon1 = new ImageIcon(getClass().getResource("playbutton.jpg"));
|
|
|
this.play = new JButton(icon1);
|
|
|
play.addActionListener(new ActionListener()
|
|
|
{
|