private void applyAlphaMode(@NotNull WindowInfo info) {
    UISettings uiSettings = UISettings.getInstance();
    if (!uiSettings.getState().getEnableAlphaMode() || !isShowing() || !isDisplayable()) {
      return;
    }

    myDelayAlarm.cancelAllRequests();
    if (info.isActiveOnStart()) {
      // make window non transparent
      myFrameTicker.cancelAllRequests();
      myStartRatio = getCurrentAlphaRatio();
      if (myCurrentFrame > 0) {
        myCurrentFrame = TOTAL_FRAME_COUNT - myCurrentFrame;
      }
      myEndRatio = .0f;
      myFrameTicker.addRequest(myAnimator, DELAY);
    }
    else {
      // make window transparent
      myDelayAlarm.addRequest(() -> {
        myFrameTicker.cancelAllRequests();
        myStartRatio = getCurrentAlphaRatio();
        if (myCurrentFrame > 0) {
          myCurrentFrame = TOTAL_FRAME_COUNT - myCurrentFrame;
        }
        myEndRatio = uiSettings.getState().getAlphaModeRatio();
        myFrameTicker.addRequest(myAnimator, DELAY);
      }, uiSettings.getState().getAlphaModeDelay());
    }
  }
private void applyAlphaMode(@NotNull WindowInfo info)