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) ![]() |
thisComponent.getContentPane().add(child)
thisComponent.getContentPane().setLayout(new GridLayout(1, 2))
JFrame frame = new JFrame(); frame.setUndecorated(true); frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);