void (@Nullable JComponent component) { if (myTargetComponent == null) { putClientProperty(SUPPRESS_TARGET_COMPONENT_WARNING, true); } if (myTargetComponent != component) { myTargetComponent = component; if (isShowing()) { updateActionsImmediately(); } } }