public void actionPerformed(ActionEvent e) { Model m = getAbstractView(e).getModel(); m.insertChild(parent, m.getChild(child)); }