java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
public class Window extends Container
Constructor Summary |
---|
Window(Window owner)
Constructs a new invisible window with the specified Window as its owner. |
Method Summary | |
---|---|
Window |
getOwner()
Returns the owner of this window. |
boolean |
isAlwaysOnTop()
Returns whether this window is an always-on-top window. |
boolean |
isFocused()
Returns whether this Window is focused. |
boolean |
isShowing()
Checks if this Window is showing on screen. |
void |
setAlwaysOnTop(boolean alwaysOnTop)
Changes the always-on-top window state. |
void |
setBounds(int x,
int y,
int width,
int height)
Moves and resizes this component. |
void |
toBack()
If this Window is visible, sends this Window to the back and may cause it to lose focus or activation if it is the focused or active Window. |
void |
toFront()
If this Window is visible, brings this Window to the front and may make it the focused Window. |