private boolean isValidRange() {
		Address minAddress = getMinAddress();
		if (minAddress == null) {
			setStatusText("Specify a minimum address.");
			return false;
		}
		Address maxAddress = getMaxAddress();
		if (maxAddress == null) {
			setStatusText("Specify a maximum address.");
			return false;
		}
		if (!minAddress.getAddressSpace().equals(maxAddress.getAddressSpace())) {
			setStatusText("Min and Max must be in same address space.");
			return false;
		}
		if (minAddress.compareTo(maxAddress) > 0) {
			setStatusText("Max address must be greater than Min address.");
			return false;
		}
		return true;
	}
This method gets called when the user clicks on the OK Button.  The base
class calls this method.
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/wizard/add/AddRemoveAddressRangeDialog.java