associateViewsMenu.add(item);\r
}\r
\r
- final JRadioButtonMenuItem itemf =\r
- new JRadioButtonMenuItem("All Views", rc.applyToAllViews);\r
+ final JRadioButtonMenuItem itemf = new JRadioButtonMenuItem("All Views");\r
+\r
buttonGroup.add(itemf);\r
+\r
+ itemf.setSelected(rc.applyToAllViews);\r
itemf.addActionListener(new ActionListener()\r
{\r
public void actionPerformed(ActionEvent evt)\r
associateLeavesMenu.add(item);
}
- final JRadioButtonMenuItem itemf =
- new JRadioButtonMenuItem("All Views", treeCanvas.applyToAllViews);
+ final JRadioButtonMenuItem itemf = new JRadioButtonMenuItem("All Views");
buttonGroup.add(itemf);
+ itemf.setSelected(treeCanvas.applyToAllViews);
itemf.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent evt)