You need to create a ButtonGroup object and then add all radio buttons that worktogether as one group!ButtonGroup group = new ButtonGroup();group.add(radio1);group.add(radio2);...It then works fine!