private void jConnectBtnActionPerformed(java.awt.event.ActionEvent evt) {
		if (!connected) {
			try {
				joy1Selection.setEnabled(false);
				joy2Selection.setEnabled(false);
	            InetAddress.getByName(jIPField.getText());
	            robotInstance.getPacketTransmitter().setRemoteTarget(jIPField.getText(), 2);
				robotInstance.getPacketTransmitter().beginXmit();
				jEnableBtn.setEnabled(true);
				jConnectBtn.setText("Disconnect");
				jRoboStatus.setText("Broadcasting (Disabled)");
				connected = true;
	        }
	        catch (Exception e) {System.out.println(e.toString());}
		}
		else {
			robotInstance.getPacketTransmitter().terminate();
			jEnableBtn.setEnabled(false);
			jEnableBtn.setText("Enable");
			jConnectBtn.setText("Connect");
			jRoboStatus.setText("Disconnected");
			enabled = false;
			connected = false;
			joy1Selection.setEnabled(true);
			joy2Selection.setEnabled(true);
		}
	}