public void EnterButton()
	{
		if (!userNameBoxFieldRE.getText().equals(""))
		{		
			String tempName = userNameBoxFieldRE.getText().trim();		
			ClientGUI.userName = tempName;
			loginWindowRE.setVisible(false);
			output.println(tempName);
			output.flush();
		}
		else
		{
			JOptionPane.showMessageDialog(null, "Enter a username.");
		}
	}