protected RowObjectFilterModel<ROW_OBJECT> installTableModel(
			RowObjectTableModel<ROW_OBJECT> currentModel) {

		ListSelectionModel selectionModel = table.getSelectionModel();
		int selectionMode = selectionModel.getSelectionMode();
		RowObjectFilterModel<ROW_OBJECT> newModel = createTextFilterModel(currentModel);

		// only wrapped models are set on tables, since they have to replace the original
		if (newModel instanceof WrappingTableModel) {
			table.setModel(newModel);

			WrappingTableModel wrapper = (WrappingTableModel) newModel;
			currentModel.addTableModelListener(new TranslatingTableModelListener(wrapper));
		}

		currentModel.addTableModelListener(new UpdateTableModelListener());

		table.setSelectionMode(selectionMode);
		return newModel;
	}
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