278279280281282283284285286287288289290
} catch (Exception e) { e.printStackTrace(); } } }); EditMenu editMenu = new EditMenu(); bar.add(editMenu); editMenu.getUndo().addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { try { perspective.undo(); } catch (Exception e) { e.printStackTrace();