public void configure() {
		// Make a pcs directory for all the files
		File directory = new File("pcs");
		directory.mkdir();

		// Create the configuration file
		ConfigManager cm = new ConfigManager();
		if (comboBox.getModel().getSelectedItem().equals("Contestant")) {
			cm.setRole(ConfigManager.ROLE_CLIENT);
			cm.setServerIp(txtContestAdminIp.getText());
		} else {
			cm.setRole(ConfigManager.ROLE_SERVER);

			// Create database if doesn't exist (for server only)
			DbAdapter.createTables();
		}

		this.frmProgrammingContestSystem.dispose();
		Application.main(null); // Re-run main so that it'll show the correct
								// view.
	}