public void paintButtons() {
		buttonPane.removeAll();
		buttonPane.setLayout(new GridBagLayout());
		GridBagConstraints c = new GridBagConstraints();
		
		textField = new JTextField("port");
		c.fill = GridBagConstraints.HORIZONTAL;
		c.gridx = 0;
		c.gridy = 0;
		c.weightx = 0.5;
		c.weighty = 0;
		c.insets = MainGUI.defaultInsets;
		textField.setPreferredSize(new Dimension(150, 50));
		buttonPane.add(textField, c);
		
		button = new JButton("Start Server");
		c.fill = GridBagConstraints.HORIZONTAL;
		c.gridx = 0;
		c.gridy = 1;
		c.weightx = 0.5;
		c.weighty = 0;
		c.insets = MainGUI.defaultInsets;
		button.setPreferredSize(new Dimension(150, 50));
		button.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent ev) {
				if (textField.getText() != null) {
					try {
						server = new Server(Integer.parseInt(textField.getText()));
					} catch (IOException e) { 
						System.out.println("ERROR: Port already in use! Please enter a new " +
								"port number.");
					}
				}
			}
		});
		buttonPane.add(button, c);
		
		
		button = new JButton("Main Menu");
		c.fill = GridBagConstraints.HORIZONTAL;
		c.anchor = GridBagConstraints.SOUTH;
		c.gridx = 0;
		c.gridy = 3;
		c.weightx = 0.5;
		c.weighty = 1;
		c.insets = MainGUI.defaultInsets;
		button.setPreferredSize(new Dimension(150, 50));
		button.addActionListener(new ActionListener() {
			/*
			 * (non-Javadoc)
			 * 
			 * @see
			 * java.awt.event.ActionListener#actionPerformed(java.awt.event.
			 * ActionEvent)
			 */
			public void actionPerformed(ActionEvent event) {
				MainGUI.mainGUI.numberOfPlayers = "4";
				MainGUI.mainGUI.startMainGUI();
				frame.dispose();
				try {
					server.close();
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
		});
		buttonPane.add(button, c);
		
		button = new JButton("Quit");
		c.fill = GridBagConstraints.HORIZONTAL;
		c.gridx = 0;
		c.gridy = 4;
		c.weightx = 0.5;
		c.weighty = 0;
		c.insets = MainGUI.defaultInsets;
		button.setPreferredSize(new Dimension(150, 50));
		button.addActionListener(new ActionListener() {
			/*
			 * (non-Javadoc)
			 * 
			 * @see
			 * java.awt.event.ActionListener#actionPerformed(java.awt.event.
			 * ActionEvent)
			 */
			public void actionPerformed(ActionEvent event) {
				frame.dispose();
				try {
					server.close();
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
		});
		buttonPane.add(button, c);
	}