void (@NotNull JComponent content, @NotNull ActionToolbarImpl toolbar) { myMainPanel.addToCenter(content); toolbar.setBackground(UIUtil.getToolTipActionBackground()); new WindowMoveListener(myContent).installTo(toolbar); myContent .addToCenter(myMainPanel) .addToBottom(toolbar); }