Class MainScreen

java.lang.Object
edu.harvard.hul.ois.jhove.viewer.MainScreen

public class MainScreen extends Object
Static methods for positioning windows on the main screen.
Author:
Gary McGath
  • Method Details

    • centerWindow

      public static void centerWindow(Window win)
      Center the window on the main screen.
    • centerTopWindow

      public static void centerTopWindow(Window win)
      Center the window at the top of the main screen.
    • mainBounds

      public static Rectangle mainBounds()
      Returns the bounds of the main monitor device.