}
private void setupMenu() {
m_menu_bar = new JMenuBar();
setJMenuBar(m_menu_bar);
MenuBuilder mu=new MenuBuilder(new MenuEventHandler(),m_menu_bar);
mu.addMenu("File");
mu.addMenuItem(sSave);
mu.addMenuItem(sExit);
mu.addMenu("Mapping");
mu.addMenuItem(sReadSourceMapping);
mu.addMenuItem(sReadTargetMapping);
mu.addMenuSeparator();
mu.addMenuItem(sSaveSourceMapping);
mu.addMenuItem(sSaveTargetMapping);
mu.addMenuSeparator();
mu.addMenuItem(sAutoSrcMapping);
mu.addMenuItem(sAutoTrgMapping);
mu.addMenuSeparator();
mu.addMenuItem(sRmSrcMapping);
mu.addMenuItem(sRmTrgMapping);
mu.addMenu("View");
mu.addMenuItem(sShowAllMapping);
mu.addMenuItem(sHideSourceMapping);
mu.addMenuItem(sHideTargetMapping);
mu.addMenuItem(sExpandAllTrees);
JMenu search=mu.addMenu("Search");
mu.addMenu("Start", search);
m_search_nst=mu.addMenuItem("New source tree");
m_search_ost=mu.addMenuItem("Old source tree");
m_search_ott=mu.addMenuItem("Old target tree");
m_search_ntt=mu.addMenuItem("New target tree");
mu.addMenu("Next", search);
m_next_nst=mu.addMenuItem("New source tree",false);
m_next_ost=mu.addMenuItem("Old source tree",false);
m_next_ott=mu.addMenuItem("Old target tree",false);
m_next_ntt=mu.addMenuItem("New target tree",false);
}