public void displaySettingsPanel() {
		//Leave the current match intact until a new one is created, just in case the user forgot to save.
		if (this.currentMatch != null) {
			this.currentMatch.getPanel().setVisible(false);
		}
		
		this.newGamePanel.setVisible(true);
		
		super.pack(); //Makes the window resize to match the preferred size of it's visible components.
	}