public void dispose() {
		TableModel unwrappedeModel = getUnwrappedTableModel();
		if (unwrappedeModel instanceof AbstractGTableModel) {
			((AbstractGTableModel<?>) unwrappedeModel).dispose();
		}

		if (columnModel instanceof GTableColumnModel) {
			((GTableColumnModel) columnModel).dispose();
		}

		columnRenderingDataMap.clear();

		if (selectionManager != null) {
			selectionManager.dispose();
		}

		for (PropertyChangeListener listener : getPropertyChangeListeners()) {
			removePropertyChangeListener(listener);
		}
	}
Call this when the table will no longer be used
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTable.java