have a method in my GUI project for displaying a `JOptionPane` with several components on it, 2 of these components are `ButtonGroups` with 2 `JRadioButtons` in each, in the first group the first button is selected by default, in the second group the second button is selected by default, in the second group i want to have the first button disabled until the second button in the first group is selected i.e if the user is happy with the default selection in BG1, then they can't make a selection in BG2, only if they make the second selection in BG1 can they have the other option in BG2. 

Is this type of behavior possible with a `JOptionPane`? 

Have been looking at the tutorials for `JDialog`, `JOptionPane`and doing other research but none of these have proved helpful in this case. if someone could give me a bit of direction to a possible solution that would be fantastic...