|
@@ -23,7 +23,8 @@ 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));
|
|
|
- this.play = new JButton("Play");
|
|
|
+ this.play = new JButton();
|
|
|
+ play.setIcon(new ImageIcon(Class.class.getResource("/resources/playbutton.jpg")));
|
|
|
play.addActionListener(new ActionListener()
|
|
|
{
|
|
|
public void actionPerformed(ActionEvent e)
|