Searched refs:contentPane (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DRootPaneContainer.java53 * <code>contentPane</code>. This means you can call:
68 * forwarded to the <code>contentPane</code>; if false, these
96 * The "contentPane" is the primary container for application
98 * the contentPane, set its layout manager, and so on.
100 * The contentPane may not be null.
103 * <code>getRootPane().setContentPane(contentPane);</code>
107 * @param contentPane the Container to use for the contents of this
112 void setContentPane(Container contentPane); argument
116 * Returns the contentPane.
118 * @return the value of the contentPane propert
[all...]
H A DJRootPane.java82 * an optional <code>menuBar</code>, and a <code>contentPane</code>.
84 * and the <code>contentPane</code>.)
87 * Since the <code>glassPane</code> (like the <code>contentPane</code>)
94 * the <code>layeredPane</code>, <code>contentPane</code>,
99 * optional menu bar), you add the object to the <code>contentPane</code>
106 * the <code>contentPane</code> instead of on the <code>JRootPane</code>.
108 * <b>Note:</b> The default layout manager for the <code>contentPane</code> is
118 * The <code>contentPane</code> is adjusted in location and size to
120 * (The <code>JMenuBar</code> and the <code>contentPane</code> are added to the
126 * the grandparent of all components added to the <code>contentPane</cod
305 protected Container contentPane; field in class:JRootPane
[all...]
H A DJApplet.java47 * <code>JRootPane</code> as its only child. The <code>contentPane</code>
51 * <code>contentPane</code> as necessary. This means you can write:
56 * And the child will be added to the <code>contentPane</code>.
57 * The <code>contentPane</code> will always be non-<code>null</code>.
60 * <code>contentPane</code> will have a <code>BorderLayout</code>
67 * complete description of the <code>contentPane</code>, <code>glassPane</code>,
104 * will be forwarded to the <code>contentPane</code>. This is initially
163 // work the contentPane must be opaque, therefor the RootPane can
256 * <code>setLayout</code> are forwarded to the <code>contentPane</code>.
273 * <code>setLayout</code> are forwarded to the <code>contentPane</cod
426 setContentPane(Container contentPane) argument
[all...]
H A DJWindow.java44 * as its only child. The <code>contentPane</code> should be the parent
48 * <code>contentPane</code> as necessary. This means you can write:
52 * And the child will be added to the contentPane.
53 * The <code>contentPane</code> will always be non-<code>null</code>.
55 * to throw an exception. The default <code>contentPane</code> will have a
62 * the <code>contentPane</code>, <code>glassPane</code>, and
98 * <code>contentPane</code>
109 * will be forwarded to the <code>contentPane</code>. This is initially
277 // work the contentPane must be opaque, therefor the RootPane can
285 * <code>setLayout</code> are forwarded to the <code>contentPane</cod
523 setContentPane(Container contentPane) argument
[all...]
H A DJColorChooser.java640 Container contentPane = getContentPane();
641 contentPane.setLayout(new BorderLayout());
642 contentPane.add(chooserPane, BorderLayout.CENTER);
705 contentPane.add(buttonPane, BorderLayout.SOUTH);
H A DJDialog.java45 * The {@code contentPane} should be the parent of any children of the
49 * {@code contentPane} as necessary. This means you can write:
53 * And the child will be added to the contentPane.
54 * The {@code contentPane} is always non-{@code null}.
56 * The default {@code contentPane} has a {@code BorderLayout}
63 * description of the {@code contentPane}, {@code glassPane},
119 * will be forwarded to the {@code contentPane}. This is initially
668 // work the contentPane must be opaque, therefor the RootPane can
862 * {@code setLayout} are forwarded to the {@code contentPane}.
879 * {@code setLayout} are forwarded to the {@code contentPane}
1044 setContentPane(Container contentPane) argument
[all...]
H A DJFrame.java55 * <code>contentPane</code> as necessary. This means you can write:
59 * And the child will be added to the contentPane.
145 * <code>contentPane</code>
156 * will be forwarded to the <code>contentPane</code>. This is initially
280 // work the contentPane must be opaque, therefor the RootPane can
504 * <code>setLayout</code> are forwarded to the <code>contentPane</code>.
521 * <code>setLayout</code> are forwarded to the <code>contentPane</code>.
543 * <code>contentPane</code>.
544 * By default, children are added to the <code>contentPane</code> instead
572 * the call to the <code>contentPane</cod
692 setContentPane(Container contentPane) argument
[all...]
H A DProgressMonitor.java192 Container contentPane = dialog.getContentPane();
194 contentPane.setLayout(new BorderLayout());
195 contentPane.add(this, BorderLayout.CENTER);
H A DJFileChooser.java793 Container contentPane = dialog.getContentPane();
794 contentPane.setLayout(new BorderLayout());
795 contentPane.add(this, BorderLayout.CENTER);
H A DJOptionPane.java974 Container contentPane = dialog.getContentPane();
976 contentPane.setLayout(new BorderLayout());
977 contentPane.add(this, BorderLayout.CENTER);
/openjdk7/jdk/src/share/demo/management/JTop/
H A DJTop.java373 JComponent contentPane = (JComponent) frame.getContentPane();
374 contentPane.add(jtop, BorderLayout.CENTER);
375 contentPane.setOpaque(true); //content panes must be opaque
376 contentPane.setBorder(new EmptyBorder(12, 12, 12, 12));
377 frame.setContentPane(contentPane);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaInternalFrameUI.java301 // Basic sets the background of the contentPane to null so it can inherit JInternalFrame.setBackground
885 final Container contentPane = frame.getContentPane();
886 if (contentPane == null) return null;
887 Point pt = SwingUtilities.convertPoint(this, e.getPoint(), contentPane);
888 final Component c = SwingUtilities.getDeepestComponentAt(contentPane, pt.x, pt.y);
890 pt = SwingUtilities.convertPoint(contentPane, pt, c);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicInternalFrameUI.java135 Container contentPane = frame.getContentPane();
136 if (contentPane != null) {
137 Color bg = contentPane.getBackground();
139 contentPane.setBackground(null);

Completed in 64 milliseconds