m_tree.scrollPathToVisible(selTreePath);
m_tree.scrollPathToVisible(new TreePath(newNode.getPath()));
}
});
}
menu.addSeparator();
menuItem = new JStatusMenuItem(Main.getString("menu_tree_batch"), Main.getString("statusbar_menutree_batch_help"), m_statusBar);
menu.add(menuItem);
menuItem.addActionListener(new ActionListener()
{
public void actionPerformed (ActionEvent ev)