public int getResponse() {
		
		if (result == -1 || result == JOptionPane.CANCEL_OPTION || this.options == null) {
			return -1;
		}
		
		int i = 0;
		for (JRadioButton rb : this.radioBtns) {
			if (rb.isSelected()) {
				return i;
			}
			++i;
		}
    	
    	return -1;
    }