<BUG>menu.add(new MenuItem("Stop"));menu.addActionListener(this);</BUG><CONTEXT>menu.setEnabled(false);menubar.add(menu);menu = new Menu("Sketch");menu.add(new MenuItem("Play"));menu.add(new MenuItem("Present"));<extra_id_0>menubar.add(menu);frame.setMenuBar(menubar);Insets insets = frame.getInsets();</CONTEXT>
menu.addSeparator();menu.add(new MenuItem("Beautify"));menu.addActionListener(this);