public static void connectedGUIstate(boolean s) {
		if(s == true) {
			hostField.setEditable(false);
			hostField.setFocusable(false);
			portField.setEditable(false);
			portField.setFocusable(false);
			connectBtn.setText("Disconnect");
		}else{
			hostField.setEditable(true);
			hostField.setFocusable(true);
			portField.setEditable(true);
			portField.setFocusable(true);
			connectBtn.setText("Connect");
		}
	}