Are you asking how to make sure that they don't have lax and strict on at same time?

If so, use ButtonGroup.



ButtonGroup group = new RadioButtonGroup();

JRadioButton lax = new...