ActionGroup () { final DefaultActionGroup group = new DefaultActionGroup(); group.add(new RemoveDynamicAction()); group.add(Separator.getInstance()); group.add(new ExpandAllAction()); group.add(new CollapseAllAction()); return group; }