public static @NotNull Rectangle getScreenRectangle(@NotNull GraphicsConfiguration configuration) {
    return applyInsets(configuration.getBounds(), getScreenInsets(configuration));
  }
public static @NotNull Rectangle getScreenRectangle(@NotNull GraphicsConfiguration configuration)