JComponent (ConsoleView view, ActionGroup actions) { JPanel panel = new JPanel(); panel.setLayout(new BorderLayout()); panel.add(view.getComponent(), BorderLayout.CENTER); ActionToolbar actionToolbar = ActionManager.getInstance().createActionToolbar("RunContentExecutor", actions, false); actionToolbar.setTargetComponent(panel); panel.add(actionToolbar.getComponent(), BorderLayout.WEST); return panel; }