private void checkCapacity() {

		if (projectData == null) {
			return;
		}

		int fileCount = projectData.getFileCount();

		if (fileCount < 0 || fileCount > MAX_FILE_COUNT) {
			capacityExceeded = true;
			this.projectData.removeDomainFolderChangeListener(changeListener);
			model.setProjectData(null);
			SystemUtilities.runSwingLater(() -> {
				JRootPane rootPane = gTable.getRootPane();
				if (rootPane != null) {
					GGlassPane glassPane = (GGlassPane) rootPane.getGlassPane();
					glassPane.removePainter(painter);
					glassPane.addPainter(painter);
				}
			});
		}
	}
Determine if table capacity has been exceeded and files are not shown
@return true if files are not shown in project data table, else false
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatable/ProjectDataTablePanel.java