Package edu.harvard.hul.ois.jhove.viewer
Class MainScreen
java.lang.Object
edu.harvard.hul.ois.jhove.viewer.MainScreen
Static methods for positioning windows on the main screen.
- Author:
- Gary McGath
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcenterTopWindow(Window win) Center the window at the top of the main screen.static voidcenterWindow(Window win) Center the window on the main screen.static RectangleReturns the bounds of the main monitor device.
-
Method Details
-
centerWindow
Center the window on the main screen. -
centerTopWindow
Center the window at the top of the main screen. -
mainBounds
Returns the bounds of the main monitor device.
-