Package rma.swing
Class WindowUtilities
java.lang.Object
rma.swing.WindowUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Windowget the selected windowstatic WindowgetSelectedWindow(Window[] windows) get the selected window from the array of windowsstatic booleansetLocation(Window window, int x, int y) set the Windows's location.static void
-
Constructor Details
-
WindowUtilities
public WindowUtilities()
-
-
Method Details
-
toFront
-
setLocation
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
get the selected window- Returns:
-
getSelectedWindow
get the selected window from the array of windows- Parameters:
windows-- Returns:
-