public static @NotNull Rectangle getMainScreenBounds() {
    return getScreenRectangle(GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice());
  }
public static @NotNull Rectangle getMainScreenBounds()