JRadioButton (ModelScopeItem m) { OtherScopeItem model = (OtherScopeItem)m; AnalysisScope scope = model.getScope(); JRadioButton button = new JRadioButton(); String name = scope.getShortenName(); button.setText(name); button.setMnemonic(name.charAt(getSelectedScopeMnemonic(name))); return button; }