void (JComponent content) { myDialog.setContentPane(IdeFrameDecorator.Companion.isCustomDecorationActive() && !isHeadlessEnv() ? CustomFrameDialogContent.Companion.getCustomContentHolder(getWindow(), content, false) : content); }