public void actionPerformed(ActionEvent e) { Model m = getAbstractView(e).getModel(); m.removeChild(toRemove.getParent(), toRemove); }