Method getRootPane()
Return type:
javax.swing.JRootPane
Member of:
javax.swing.JFrame
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
monitor ( jFrame.getRootPane ( ) );
2
this.getRootPane().revalidate();
3
this.getRootPane().setDefaultButton(buttonOk);
4
this.getRootPane().setDefaultButton(buttonOk);
5
cFrame.getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).
6
textEscape = new EscapeListener((JButton)textToolBar.getComponent(1), getRootPane());
7
getRootPane().setDefaultButton(nextButton);
8
setupWindow(frame.getRootPane(), inView, false);
9
HelpCtx.setHelpIDString (getRootPane (), CvsBranchFrame.class.getName ());
10
frame.getRootPane().getContentPane().add(new CConnectionEditor());
11
getRootPane().setDefaultButton(okButton);
12
getRootPane().setJMenuBar(createMenu());
13
(this.frame.getRootPane() ).updateUI();
14
getRootPane().setDefaultButton(runButton);
15
Utility.setLang(getRootPane());
16
getRootPane().setDefaultButton(m_okayButton);
17
frame.getRootPane().setDoubleBuffered(false);
18
UIManager.addPropertyChangeListener(new UISwitchListener((JComponent)getRootPane()));
19
_logMonitorFrame.getRootPane().setJMenuBar(createMenuBar());
20
_logMonitorFrame.getRootPane().setJMenuBar(createMenuBar());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.