|
@@ -13,7 +13,7 @@ public class Menubar 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(20, 300));
|
|
|
|
|
|
+ this.setPreferredSize(new Dimension(300, 50));
|
|
model.addObserver(this);
|
|
model.addObserver(this);
|
|
}
|
|
}
|
|
|
|
|