Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.topRow = new Panel(new BorderLayout());
- this.topRow.setBackground(background);
- this.topRow.add(this.header, BorderLayout.PAGE_START);
- this.topRow.add(this.playerChoice, BorderLayout.LINE_START);
- this.topRow.add(this.algorithmChoice, BorderLayout.CENTER);
- this.topRow.add(this.heuristicChoice, BorderLayout.AFTER_LINE_ENDS);
- this.topRow.add(this.levelChoice, BorderLayout.PAGE_END);
- this.timeMeasure = new TextArea("Time: ", 2,5, TextArea.SCROLLBARS_NONE);
- this.timeMeasure.setEditable(false);
- this.stepsMeasure = new TextArea("Steps: ",2,5, TextArea.SCROLLBARS_NONE);
- this.stepsMeasure.setEditable(false);
- this.infoArea = new TextArea("",5,30, TextArea.SCROLLBARS_BOTH);
- this.infoArea.setEditable(false);
- this.infoArea.setForeground(Color.BLUE);
- super.setLayout(new GridLayout(4,2));
- super.add(this.topRow);
- super.add(this.timeMeasure,BorderLayout.AFTER_LAST_LINE);
- super.add(this.stepsMeasure,BorderLayout.AFTER_LAST_LINE);
- super.add(this.infoArea);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement