JComponent () { DefaultActionGroup group = new DefaultActionGroup(); group.add(new CloseAction()); group.add(new RerunAction(this)); group.add(new ShowFilesAction()); group.add(new HideOutOfCyclePackagesAction()); group.add(new GroupByScopeTypeAction()); ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar("CyclicDependencies", group, true); return toolbar.getComponent(); }