void (GridBagConstraints gbConstraints, JPanel panel, final int occurenceNumber) { myCbReplaceAllOccurences = new NonFocusableCheckBox(); myCbReplaceAllOccurences.setText(RefactoringBundle.message("replace.all.occurences", occurenceNumber)); panel.add(myCbReplaceAllOccurences, gbConstraints); myCbReplaceAllOccurences.setSelected(false); }