| Klasse javax.swing.JFrame | 1.2 |
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
|
+--java.awt.Frame
|
+--javax.swing.JFrame
| Datenelemente | |
|---|---|
| public final static int | EXIT_ON_CLOSE ![]() |
| protected JRootPane | rootPane |
| protected boolean | rootPaneCheckingEnabled |
| protected AccessibleContext | accessibleContext |
| Konstruktoren | |
|---|---|
| public | JFrame() |
| public | JFrame(GraphicsConfiguration gc) ![]() |
| public | JFrame(String title) |
| public | JFrame(String title, GraphicsConfiguration gc) ![]() |
![[1.3]](../../images/marg13.gif)
![[1.3]](../../images/marg13.gif)
![[1.3]](../../images/marg13.gif)
thisComponent.getContentPane().add(child)
thisComponent.getContentPane().setLayout(new GridLayout(1, 2))
![[1.4]](../../images/marg14.gif)
JFrame frame = new JFrame();
frame.setUndecorated(true);
frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
![[1.4]](../../images/marg14.gif)