public static void EnterChat()
	{
		if (!userNameBoxField.getText().equals(""))
		{		
			String tempName = userNameBoxField.getText().trim();		
			userName = tempName;
			loginWindow.setVisible(false);
			sendButton.setEnabled(true);
			whisperButton.setEnabled(true);
			disconnectButton.setEnabled(true);
			connectButton.setEnabled(false);
			System.out.println("Doing connect");
			Connect();
		}
		else
		{
			JOptionPane.showMessageDialog(null, "Enter a username.");
		}
	}