javax.swing
public class JWindow extends Window implements Accessible, RootPaneContainer
| Nested Class Summary | |
|---|---|
| protected class | JWindow.AccessibleJWindow
Provides accessibility support for JWindow. |
| Field Summary | |
|---|---|
| protected AccessibleContext | accessibleContext |
| protected JRootPane | rootPane |
| protected boolean | rootPaneCheckingEnabled |
| Constructor Summary | |
|---|---|
| JWindow()
Creates a new JWindow that has a shared invisible owner frame
as its parent. | |
| JWindow(GraphicsConfiguration gc)
Creates a new JWindow that uses the specified graphics
environment. | |
| JWindow(Frame owner)
Creates a new JWindow that has the specified
owner frame. | |
| JWindow(Window owner)
Creates a new JWindow that has the specified
owner window. | |
| JWindow(Window owner, GraphicsConfiguration gc)
Creates a new JWindow for the given graphics configuration
and that has the specified owner window. | |
| Method Summary | |
|---|---|
| protected void | addImpl(Component comp, Object constraints, int index) |
| protected JRootPane | createRootPane() |
| AccessibleContext | getAccessibleContext() |
| Container | getContentPane() |
| Component | getGlassPane() |
| JLayeredPane | getLayeredPane() |
| Dimension | getPreferredSize() |
| JRootPane | getRootPane() |
| protected boolean | isRootPaneCheckingEnabled() |
| protected String | paramString() |
| protected void | processKeyEvent(KeyEvent e) |
| void | remove(Component comp) |
| void | setContentPane(Container contentPane) |
| void | setGlassPane(Component glassPane) |
| void | setLayeredPane(JLayeredPane layeredPane) |
| void | setLayout(LayoutManager manager) |
| protected void | setRootPane(JRootPane root) |
| protected void | setRootPaneCheckingEnabled(boolean enabled) |
| void | update(Graphics g) |
| protected void | windowInit() |
UNKNOWN: rootPaneCheckingEnabled is false to comply with J2SE 5.0
JWindow that has a shared invisible owner frame
as its parent.JWindow that uses the specified graphics
environment. This can be used to open a window on a different screen for
example.
Parameters: gc the graphics environment to use
JWindow that has the specified
owner frame. If owner is null, then
an invisible shared owner frame is installed as owner frame.
Parameters: owner the owner frame of this window; if null a shared
invisible owner frame is used
JWindow that has the specified
owner window. If owner is null,
then an invisible shared owner frame is installed as owner frame.
Parameters: owner the owner window of this window; if null a
shared invisible owner frame is used
JWindow for the given graphics configuration
and that has the specified owner window. If
owner is null, then an invisible shared owner
frame is installed as owner frame.
The gc parameter can be used to open the window on a
different screen for example.
Parameters: owner the owner window of this window; if null a
shared invisible owner frame is used gc the graphics configuration to use