public void setSimObjects(Garden[] g, Player[] c){
		//setting language-specific strings
		if(Locale.getDefault() == Locale.GERMAN || Locale.getDefault() == Locale.GERMANY){
			nameOld = Lang_GER.nameOld;
			title = Lang_GER.pitchWindow;
			restartL = Lang_GER.setUpWindow;
		} else if(Locale.getDefault() == Locale.FRENCH || Locale.getDefault() == Locale.FRANCE) {
			nameOld = Lang_FR.nameOld;
			title = Lang_FR.pitchWindow;
			restartL = Lang_FR.setUpWindow;
		} else {
			nameOld = Lang_EN.nameOld;
			title = Lang_EN.pitchWindow;
			restartL = Lang_EN.setUpWindow;
		}
		//setting up panels
		mainP = new JPanel(new FlowLayout(FlowLayout.CENTER));
		buttonP = new JPanel(new FlowLayout(FlowLayout.CENTER));
		miscP = new JPanel(new FlowLayout(FlowLayout.CENTER));
		//miscP.setLayout(new BoxLayout(miscP, BoxLayout.X_AXIS));
		//setting up Boards and a tabbedPane with them
		board0 = new BoardPane(g[0], c[0]);
		board1 = new BoardPane(g[1], c[1]);
		this.g = g;
		this.c = c;
		boardsTP = new JTabbedPane();
		boardsTP.add("Thomas", board0);
		boardsTP.add(nameOld, board1);
		mainP.add(board0);
		mainP.add(board1);
		//setting up dice & debug-table
		diceP = new DicePane();
		debug = new DebugTable(g,c);
		//setting up tab-toggling button
		toggleTab = new JButton("Collapse");
		toggleTab.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent e) {
				setVisible(false);
				if(tabbedView){
					f.setSize(1050, 775);
					boardsTP.removeAll();
					mainP.removeAll();
					mainP.add(board0);
					mainP.add(board1);
					toggleTab.setText("Collapse");
				} else {
					f.setSize(580, 775);
					mainP.removeAll();
					boardsTP.addTab("Thomas", board0);
					boardsTP.addTab(nameOld, board1);
					mainP.add(boardsTP);
					toggleTab.setText("Expand");
				}
				setVisible(true);
				tabbedView = !tabbedView;
				refreshUI();
			}
		});
		//adding to top-level panes
		mainP.add(boardsTP);
		buttonP.add(toggleTab);
		miscP.add(diceP);
		miscP.add(debug);
		//setting up this
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		add(mainP);
		add(buttonP);
		add(miscP);
		//setting up window
		f.setVisible(true);
		f.setSize(1050, 775);
		f.setTitle(title);
		refreshUI();
	}