6350025: API documentation for JOptionPane using deprecated methods.

Reviewed-by: jdv
This commit is contained in:
Prasanta Sadhukhan 2021-08-04 11:38:07 +00:00
parent efcdcc7fb7
commit 4df1bc4bc6

View File

@ -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;