Class ScreenFinder


  • public final class ScreenFinder
    extends java.lang.Object
    • Constructor Detail

      • ScreenFinder

        private ScreenFinder()
    • Method Detail

      • getCurrentPoint

        public static java.awt.Point getCurrentPoint()
      • getCurrentScreenSizeWithoutBounds

        public static java.awt.Rectangle getCurrentScreenSizeWithoutBounds()
      • centerWindowOnto

        public static void centerWindowOnto​(java.awt.Window baseWindow,
                                            java.awt.Window centeredWindow)
      • centerWindowToCurrentScreen

        public static void centerWindowToCurrentScreen​(java.awt.Window w)
      • centerWindowToBounds

        private static void centerWindowToBounds​(java.awt.Window w,
                                                 java.awt.Rectangle bounds)
      • moveWindowNextTo

        public static void moveWindowNextTo​(java.awt.Window baseWindow,
                                            java.awt.Window movedWindow)
      • getScreenOnCoords

        private static java.awt.GraphicsDevice getScreenOnCoords​(java.awt.Point point)
      • getScreenOnCoordsWithoutBounds

        private static java.awt.Rectangle getScreenOnCoordsWithoutBounds​(java.awt.Point p)