private void create(List<Path> paths) {
		panel = new JPanel(new BorderLayout(5, 5));

		if (allowOrdering) {
			upButton = new GButton(Icons.UP_ICON);
			upButton.setName("UpArrow");
			upButton.setToolTipText("Move the selected path up in list");
			upButton.addActionListener(e -> up());
			upButton.setFocusable(false);

			downButton = new GButton(Icons.DOWN_ICON);
			downButton.setName("DownArrow");
			downButton.setToolTipText("Move the selected path down in list");
			downButton.addActionListener(e -> down());
			downButton.setFocusable(false);
		}

		addButton = new GButton(Icons.ADD_ICON);
		addButton.setName("AddPath");
		addButton.setToolTipText("Display file chooser to select files to add");
		addButton.addActionListener(e -> add());
		addButton.setFocusable(false);

		removeButton = new GButton(Icons.DELETE_ICON);
		removeButton.setName("RemovePath");
		removeButton.setToolTipText("Remove selected path(s) from list");
		removeButton.addActionListener(e -> remove());
		removeButton.setFocusable(false);

		JPanel buttonPanel = new JPanel(new GridBagLayout());
		GridBagConstraints gbc = new GridBagConstraints();
		gbc.anchor = GridBagConstraints.CENTER;
		gbc.insets = new Insets(0, 0, 0, 0);
		gbc.gridx = 0;
		gbc.gridy = 0;
		if (allowOrdering) {
			buttonPanel.add(upButton, gbc);
			++gbc.gridy;
			buttonPanel.add(downButton, gbc);
			++gbc.gridy;
		}
		buttonPanel.add(addButton, gbc);
		++gbc.gridy;
		buttonPanel.add(removeButton, gbc);

		pathModelListener = e -> firePathsChanged();

		pathModel = new PathManagerModel(this, paths);
		pathModel.addTableModelListener(pathModelListener);

		pathTable = new GTable(pathModel);
		pathTable.setName("PATH_TABLE");
		pathTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);

		//make the 'enabled' column very skinny...
		TableColumn useColumn = pathTable.getColumnModel().getColumn(PathManagerModel.COLUMN_USE);
		int width = 50;
		useColumn.setPreferredWidth(width);
		useColumn.setMinWidth(width);
		useColumn.setMaxWidth(width);
		useColumn.setWidth(width);

		TableColumn pathColumn = pathTable.getColumnModel().getColumn(PathManagerModel.COLUMN_PATH);
		pathColumn.setCellRenderer(new GTableCellRenderer() {
			@Override
			public Component getTableCellRendererComponent(GTableCellRenderingData data) {

				JLabel renderer = (JLabel) super.getTableCellRendererComponent(data);

				Object value = data.getValue();
				int column = data.getColumnViewIndex();

				if (column == PathManagerModel.COLUMN_PATH) {
					Path path = (Path) value;
					if (!isValidPath(path)) {
						renderer.setForeground(getErrorForegroundColor(data.isSelected()));
					}
				}
				return renderer;
			}
		});

		JScrollPane scrollPane = new JScrollPane(pathTable);

		ListSelectionModel selModel = pathTable.getSelectionModel();
		selModel.addListSelectionListener(e -> {
			if (e.getValueIsAdjusting()) {
				return;
			}
			updateButtonsEnabled();
		});
		updateButtonsEnabled();

		panel.add(scrollPane, BorderLayout.CENTER);
		panel.add(buttonPanel, BorderLayout.EAST);
		panel.setPreferredSize(new Dimension(400, 200));
	}
Clear the paths in the table.
Ghidra/Framework/Docking/src/main/java/docking/widgets/pathmanager/PathManager.java