public void dispose() {

		DockingWindowManager dwm = DockingWindowManager.getInstance(this);
		if (dwm != null) {
			dwm.removePreferenceStateSupplier(uniquePreferenceKey);
		}

		// Unusual Code Alert: we have to remove this particular listener due to a memory leak.
		// Removing the listener or null-ing out the reference both allow us to be garbage
		// collected.  If we do neither, then we are not collected for some strange reason (even
		// when our column model uses a Weak listener setup).
		TableColumnModel columnModel = table.getColumnModel();
		columnModel.removeColumnModelListener(columnModelListener);
		columnModelListener = null;

		columnFilterManager.dispose();

		table.removePropertyChangeListener(badProgrammingPropertyChangeListener);

		filterUpdater.dispose();
		if (table instanceof GTable) {
			((GTable) table).dispose();
		}
	}
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