void (@Nullable Pair<@NlsContexts.DialogMessage String, Fix> messageAndFix) { if (messageAndFix != null) { myMessageLabel.setText(messageAndFix.first); myMessageLabel.setIcon(WARNING_ICON); myMessageLabel.setVisible(true); myFixRunnable = messageAndFix.second; myFixLink.setVisible(myFixRunnable != null); myFixLink.setText(myFixRunnable != null ? myFixRunnable.getTitle() : null); } else { myMessageLabel.setText(" "); myMessageLabel.setIcon(EMPTY_ICON); myFixLink.setVisible(false); myFixRunnable = null; } }