|
|
@@ -39,9 +39,8 @@ public class MainFrame extends JFrame{
|
|
|
this.setJMenuBar(new MenuBar(this));
|
|
|
this.setVisible(true);
|
|
|
|
|
|
- this.length = -999;
|
|
|
- this.width = -999;
|
|
|
- this.terrain = -999;
|
|
|
+ this.length = 1000;
|
|
|
+ this.width = 1000;
|
|
|
|
|
|
this.getContentPane().setBackground( Color.WHITE );
|
|
|
|
|
|
@@ -91,18 +90,6 @@ public class MainFrame extends JFrame{
|
|
|
this.width = width;
|
|
|
}
|
|
|
|
|
|
- public int getTerrain(){
|
|
|
- return this.terrain;
|
|
|
- }
|
|
|
-
|
|
|
- public int getLength(){
|
|
|
- return this.length;
|
|
|
- }
|
|
|
-
|
|
|
- public int getWidth(){
|
|
|
- return this.width;
|
|
|
- }
|
|
|
-
|
|
|
private void updateView(JPanel panel){
|
|
|
this.currentPanel = panel;
|
|
|
this.setContentPane(this.currentPanel);
|