Method getFrameForComponent(Component parentComponent)
Return type:
java.awt.Frame
Member of:
javax.swing.JOptionPane
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
Frame frame = JOptionPane.getFrameForComponent(this);
2
frame = JOptionPane.getFrameForComponent(this);
3
new JDialog(JOptionPane.getFrameForComponent(owner), title);
4
return JOptionPane.getFrameForComponent(parentComponent);
5
Frame tFrame = JOptionPane.getFrameForComponent(tableView);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.