Package org.jrd.frontend.MainFrame
Class ScreenFinder
- java.lang.Object
-
- org.jrd.frontend.MainFrame.ScreenFinder
-
public class ScreenFinder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ScreenFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
centerWindowsToCurrentScreen(java.awt.Window w)
static java.awt.Point
getCurrentPoint()
static java.awt.GraphicsDevice
getCurrentScreen()
static java.awt.Rectangle
getCurrentScreenSizeWithoutBounds()
private static java.awt.GraphicsDevice
getScreenOnCoords(java.awt.Point point)
private static java.awt.Rectangle
getScreenOnCoordsWithoutBounds(java.awt.Point p)
-
-
-
Method Detail
-
getCurrentPoint
public static java.awt.Point getCurrentPoint()
-
getCurrentScreen
public static java.awt.GraphicsDevice getCurrentScreen()
-
getCurrentScreenSizeWithoutBounds
public static java.awt.Rectangle getCurrentScreenSizeWithoutBounds()
-
centerWindowsToCurrentScreen
public static void centerWindowsToCurrentScreen(java.awt.Window w)
-
getScreenOnCoords
private static java.awt.GraphicsDevice getScreenOnCoords(java.awt.Point point)
-
getScreenOnCoordsWithoutBounds
private static java.awt.Rectangle getScreenOnCoordsWithoutBounds(java.awt.Point p)
-
-