static void setProgress(@Nullable JFrame frame, double value, boolean isOk) {
    if (!ourInitialized || frame == null) {
      return;
    }

    WinDef.HWND handle = getHandle(frame);
    mySetProgressState.invokeInt(new Object[]{myInterfacePointer, handle, isOk ? TBPF_NORMAL : TBPF_ERROR});
    mySetProgressValue.invokeInt(new Object[]{myInterfacePointer, handle, new WinDef.ULONGLONG((long)(value * 100)), TOTAL_PROGRESS});
  }
static void setProgress(@Nullable JFrame frame, double value, boolean isOk)