|
@@ -15,7 +15,7 @@ public class Sidepane extends JPanel implements Observer
|
|
// Hook up this observer so that it will be notified when the model
|
|
// Hook up this observer so that it will be notified when the model
|
|
// changes.
|
|
// changes.
|
|
this.model = model;
|
|
this.model = model;
|
|
- this.setPreferredSize(new Dimension(100, 300));
|
|
|
|
|
|
+ this.setPreferredSize(new Dimension(280, 720));
|
|
colours = new Colours();
|
|
colours = new Colours();
|
|
this.add(colours);
|
|
this.add(colours);
|
|
model.addObserver(this);
|
|
model.addObserver(this);
|
|
@@ -46,7 +46,7 @@ class Colours extends JPanel
|
|
public Colours()
|
|
public Colours()
|
|
{
|
|
{
|
|
this.setLayout(new GridLayout(0, 2));
|
|
this.setLayout(new GridLayout(0, 2));
|
|
- this.setPreferredSize(new Dimension(100, 225));
|
|
|
|
|
|
+ this.setPreferredSize(new Dimension(280, 600));
|
|
red = new JButton("Red");
|
|
red = new JButton("Red");
|
|
green = new JButton("Green");
|
|
green = new JButton("Green");
|
|
blue = new JButton("Blue");
|
|
blue = new JButton("Blue");
|