private void addListeners() {
		ActionListener listener = new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				boolean existingRepSelected = existingRepButton.isSelected();
				nameList.setEnabled(existingRepSelected);
				if (!existingRepSelected) {
					nameList.clearSelection();
				}
				boolean createRepSelected = createRepButton.isSelected();
				nameField.setEnabled(createRepSelected);
				nameLabel.setEnabled(createRepSelected);
				if (!createRepSelected) {
					nameField.setText("");
				}
				statusChangedCallback.call();
			}
		};
		existingRepButton.addActionListener(listener);
		createRepButton.addActionListener(listener);

		ListSelectionModel selModel = nameList.getSelectionModel();
		selModel.addListSelectionListener(new ListSelectionListener() {
			@Override
			public void valueChanged(ListSelectionEvent e) {
				if (e.getValueIsAdjusting()) {
					return;
				}
				statusChangedCallback.call();
			}
		});
	}
Panel that shows a list of existing repositories, or allows the user
to enter the name of a new repository to be created. Used by the {@link RepositoryStep} of
either the new project wizard, the "convert to shared" wizard, or the "change repository"
wizard.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/wizard/project/RepositoryPanel.java