private void resetImage(
      String value,
      ImageLoadSettings newImageLoadSettings,
      Image newImage,
      float newAlpha,
      IdeBackgroundUtil.Fill newFill,
      IdeBackgroundUtil.Anchor newAnchor
    ) {
      if (!Objects.equals(current, value)) {
        return;
      }

      boolean prevOk = image != null;
      clearImages(-1);
      imageLoadSettings = newImageLoadSettings;
      image = newImage;
      insets = JBInsets.emptyInsets();
      alpha = newAlpha;
      fillType = newFill;
      anchor = newAnchor;
      boolean newOk = newImage != null;
      if (prevOk || newOk) {
        ModalityState modalityState = ModalityState.stateForComponent(rootComponent);
        if (modalityState.dominates(ModalityState.nonModal())) {
          ComponentUtil.getActiveWindow().repaint();
        }
        else {
          IdeBackgroundUtil.repaintAllWindows();
        }
      }
    }
private void resetImage(
      String value,
      ImageLoadSettings newImageLoadSettings,
      Image newImage,
      float newAlpha,
      IdeBackgroundUtil.Fill newFill,
      IdeBackgroundUtil.Anchor newAnchor
    )