public void render() throws ClassNotFoundException, IOException {
		
		myGuns.render();
		myDelete.render();
		myNumPlayers.render();
		myNumAI.render();
		myOnlineName.render();
				
		// If the game is currently running in another thread display the "Back to Game"
		if (myIsThread) {
			myBackToGame.render();
			if (myBackToGame.isClicked()) {
				setValue(0, myGuns.myText, 2);
				setValue(1, myNumPlayers.myText, 0);
				setValue(2, myNumAI.myText, 0);
				
				stringOptions[0] = myOnlineName.myText;
				serializeString(stringOptions, "name");
				
				serializeDouble(values, "options");
				
				myDraw.frame.setVisible(false);
				myDraw.frame.dispose();
								
				stop();
			}
		}
		
		// If the game is not running in another thread display "Back to Menu"
		if (!myIsThread) {
			myBackButton.render();
			if (myBackButton.isClicked()) {
				
				setValue(0, myGuns.myText, 2);
				setValue(1, myNumPlayers.myText, 0);
				setValue(2, myNumAI.myText, 0);
				
				serializeDouble(values, "options");
				
				stringOptions[0] = myOnlineName.myText;
				serializeString(stringOptions, "name"); 
				
				myDraw.frame.setVisible(false);
				myDraw.frame.dispose();
				Menu menu = new Menu();
				menu.loop();
			}
		}
		
		if (myDelete.isClicked()) {
			File optionsFile = new File("options.ser");
			optionsFile.delete();
		}
		
		// Update the textBoxes
		myGuns.isClicked();
		myNumPlayers.isClicked();
		myNumAI.isClicked();
		myOnlineName.isClicked();
	}