private boolean showAutoCalculatedAbove = false;
- private Map<KeyStroke, JMenuItem> accelerators = new HashMap<KeyStroke, JMenuItem>();
+ private Map<KeyStroke, JMenuItem> accelerators = new HashMap<>();
private SplitContainerI splitFrame;
});
JMenuItem loadTreeMenuItem = new JMenuItem(
- MessageManager.getString("label.load_associated_tree"));
- loadTreeMenuItem.setActionCommand(
- MessageManager.getString("label.load_tree_for_sequence_set"));
+ MessageManager.getString("label.from_file"));
+ // loadTreeMenuItem.setActionCommand(
+ // MessageManager.getString());
loadTreeMenuItem.addActionListener(new ActionListener()
{
@Override
JMenu exportImageMenu = new JMenu(
MessageManager.getString("label.export_image"));
+ JMenu loadTreeMenu = new JMenu(
+ MessageManager.getString("label.load_associated_tree"));
+ loadTreeMenu.setActionCommand("label.load_tree_for_sequence_set");
+
JMenu fileMenu = new JMenu(MessageManager.getString("action.file"));
+
+ loadTreeMenu.add(loadTreeMenuItem);
+
alignFrameMenuBar.add(fileMenu);
alignFrameMenuBar.add(editMenu);
alignFrameMenuBar.add(selectMenu);
fileMenu.add(exportImageMenu);
fileMenu.add(exportFeatures);
fileMenu.add(exportAnnotations);
- fileMenu.add(loadTreeMenuItem);
+ fileMenu.add(loadTreeMenu);
fileMenu.add(associatedData);
fileMenu.addSeparator();
fileMenu.add(closeMenuItem);