void (@NotNull Wrapper placeHolder, @NotNull String place, @NotNull DefaultActionGroup group) { ActionToolbar tb = myActionManager.createActionToolbar(place, group, true); tb.setReservePlaceAutoPopupIcon(false); tb.setTargetComponent(myComponent); tb.getComponent().setBorder(null); tb.getComponent().setOpaque(false); placeHolder.setContent(tb.getComponent()); }