void () { mySearchActionsToolbar.updateActionsImmediately(); myReplaceActionsToolbar.updateActionsImmediately(); JComponent textComponent = mySearchFieldWrapper.getTargetComponent(); if (textComponent instanceof SearchTextArea) { ((SearchTextArea)textComponent).updateExtraActions(); ((SearchTextArea)textComponent).setMultilineEnabled(myMultilineEnabled); } textComponent = myReplaceFieldWrapper.getTargetComponent(); if (textComponent instanceof SearchTextArea) ((SearchTextArea)textComponent).updateExtraActions(); }