private void deleteBsimServer() {
		BSimServerInfo selected = serverTable.getSelectedRowObject();
		if (selected != null) {
			int answer =
				OptionDialog.showYesNoDialog(getComponent(), "Delete Server Configuration?",
					"Are you sure you want to delete: " + selected + "?");
			if (answer == OptionDialog.YES_OPTION) {
				if (!serverManager.removeServer(selected, false)) {
					answer = OptionDialog.showOptionDialogWithCancelAsDefaultButton(getComponent(),
						"Active Server Configuration!",
						"Database connections are still active!\n" +
							"Are you sure you want to terminate connections and delete server?",
						"Yes", OptionDialog.WARNING_MESSAGE);
					if (answer == OptionDialog.YES_OPTION) {
						serverManager.removeServer(selected, true);
					}
				}
			}
		}
	}
Dialog for managing BSim database server definitions
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/search/dialog/BSimServerDialog.java