Skip to content

Commit

Permalink
6350025: API documentation for JOptionPane using deprecated methods.
Browse files Browse the repository at this point in the history
Reviewed-by: jdv
  • Loading branch information
prsadhuk committed Aug 4, 2021
1 parent efcdcc7 commit 4df1bc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
* 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;
Expand Down

1 comment on commit 4df1bc4

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.