JComponent () { final DefaultActionGroup group = new DefaultActionGroup(); group.add(new AddExternalSuiteAction()); group.add(new RemoveSuiteAction()); group.add(new DeleteSuiteAction()); final ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar("CoverageSuiteChooser", group, true); toolbar.setTargetComponent(mySuitesTree); return toolbar.getComponent(); }