mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
6350025: API documentation for JOptionPane using deprecated methods.
Reviewed-by: jdv
This commit is contained in:
parent
efcdcc7fb7
commit
4df1bc4bc6
@ -272,7 +272,7 @@ import static javax.swing.ClientPropertyKey.PopupFactory_FORCE_HEAVYWEIGHT_POPUP
|
||||
* JOptionPane pane = new JOptionPane(<i>arguments</i>);
|
||||
* pane.set<i>.Xxxx(...); // Configure</i>
|
||||
* JDialog dialog = pane.createDialog(<i>parentComponent, title</i>);
|
||||
* dialog.show();
|
||||
* dialog.setVisible(true);
|
||||
* Object selectedValue = pane.getValue();
|
||||
* if(selectedValue == null)
|
||||
* return CLOSED_OPTION;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user