public int getChoice() {
		if (choiceCB != null) {
			return choiceCB.getSelectedIndex();
		}
		return -1;
	}
Returns index of selected choice or -1 if no choice has been made
@return index of selected choice or -1 if no choice has been made
Ghidra/Framework/Docking/src/main/java/docking/widgets/PasswordDialog.java