ButtonGroup group = new ButtonGroup();
for (Iterator it = loaders.iterator(); it.hasNext();) {
Object obj = it.next();
if (obj instanceof ProjectionLoader) {
ProjectionLoader pl = (ProjectionLoader) obj;
rb = new JRadioButtonMenuItem(pl.getPrettyName());
rb.setActionCommand(projCmd);
String plclassname = pl.getProjectionClass().getName();
rb.setName(plclassname);
rb.setToolTipText(pl.getDescription());
rb.addActionListener(this);
group.add(rb);
add(rb);
}
}