private void closeConnection() 
	{
		System.out.println( "\nTerminating connection\n" );
		// setTextFieldEditable( false ); // disable enterField

		try 
		{
			output.close(); // close output stream
			input.close(); // close input stream
			connection.close(); // close socket
		} // end try
		catch ( IOException ioException ) 
		{
			ioException.printStackTrace();
		} // end catch
	} // end method closeConnection