JButton (Action action) { if (action == myRunAction) { JBOptionButton button = new JBOptionButton(action, null); button.setAddSeparator(false); button.setOptionTooltipText(getDefaultTooltip()); button.setIconTextGap(JBUI.CurrentTheme.ActionsList.elementIconGap()); return button; } return super.createJButtonForAction(action); }