Class ScreenFinder

java.lang.Object
org.jrd.frontend.utility.ScreenFinder

public final class ScreenFinder extends Object
  • Constructor Details

    • ScreenFinder

      private ScreenFinder()
  • Method Details

    • getCurrentPoint

      public static Point getCurrentPoint()
    • getCurrentScreenSizeWithoutBounds

      public static Rectangle getCurrentScreenSizeWithoutBounds()
    • centerWindowOnto

      public static void centerWindowOnto(Window baseWindow, Window centeredWindow)
    • centerWindowToCurrentScreen

      public static void centerWindowToCurrentScreen(Window w)
    • centerWindowToBounds

      private static void centerWindowToBounds(Window w, Rectangle bounds)
    • moveWindowNextTo

      public static void moveWindowNextTo(Window baseWindow, Window movedWindow)
    • getScreenOnCoords

      private static GraphicsDevice getScreenOnCoords(Point point)
    • getScreenOnCoordsWithoutBounds

      private static Rectangle getScreenOnCoordsWithoutBounds(Point p)