private void doToggleVisibility() {
		if (isFilterDisplayed) {
			setFilterText(""); // clear the filter when not showing to avoid confusing the user
			setVisible(false);
			isFilterDisplayed = false;
			return;
		}

		// make filter displayed and maybe focus it
		setVisible(true);
		isFilterDisplayed = true;
	}
Changes the visibility of this filter panel, make it not visible it if showing, showing it if
not visible.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTableFilterPanel.java