Package rma.swing

Class WindowUtilities

java.lang.Object
rma.swing.WindowUtilities

public class WindowUtilities extends Object
  • Constructor Details

    • WindowUtilities

      public WindowUtilities()
  • Method Details

    • toFront

      public static void toFront(Window w)
    • setLocation

      public static boolean setLocation(Window window, int x, int y)
      set the Windows's location. if x,y is contained in any of the available GraphicsDevices bounds then the Window's location is set.
      Parameters:
      x -
      y -
      Returns:
      true if the Window's location is set, false if not
    • getSelectedWindow

      public static Window getSelectedWindow()
      get the selected window
      Returns:
    • getSelectedWindow

      public static Window getSelectedWindow(Window[] windows)
      get the selected window from the array of windows
      Parameters:
      windows -
      Returns: