void (boolean isOsRestartRequired) { ApplicationManager.getApplication().invokeLater(()-> { myFileTypePanel.myAssociateButton.setEnabled(true); if (isOsRestartRequired) { updateAssociateMessageLabel( FileTypesBundle.message("filetype.associate.message.os.restart"), AllIcons.General.Warning); } else { updateAssociateMessageLabel("", null); } showAssociationBalloon( FileTypesBundle.message("filetype.associate.success.message", ApplicationInfo.getInstance().getFullApplicationName()), HintUtil.getInformationColor()); }, ModalityState.any()); }