private void addMenuBar(){
  final JMenu menu=new JMenu("REIL Code");
  final JMenuItem copyItem=new JMenuItem(CActionProxy.proxy(new CActionCopyAllReilCode(m_textArea)));
  menu.add(copyItem);
  final JMenuBar menuBar=new JMenuBar();
  menuBar.add(menu);
  setJMenuBar(menuBar);
}

private void addMenuBar ( ) { final JMenu menu = new JMenu ( "REIL Code" ) ; final JMenuItem copyItem = new JMenuItem ( CActionProxy . proxy ( new CActionCopyAllReilCode ( m_textArea ) ) ) ; menu . add ( copyItem ) ; final JMenuBar menuBar = new JMenuBar ( ) ; menuBar . add ( menu ) ; setJMenuBar ( menuBar ) ; }
adds a menu bar to the dialog .
