/** The name of the selected element changed ! */ public void selectedNameChanged() { LegendTreeModel model = (LegendTreeModel) tree.getModel(); model.refresh(); }