8298323: trivial typo in JOptionPane.OK_OPTION

Reviewed-by: iris
This commit is contained in:
Prasanta Sadhukhan 2022-12-08 07:15:02 +00:00
parent d5cf18e7fb
commit 51759650e5

@ -353,7 +353,7 @@ public class JOptionPane extends JComponent implements Accessible
public static final int NO_OPTION = 1;
/** Return value from class method if CANCEL is chosen. */
public static final int CANCEL_OPTION = 2;
/** Return value form class method if OK is chosen. */
/** Return value from class method if OK is chosen. */
public static final int OK_OPTION = 0;
/** Return value from class method if user closes window without selecting
* anything, more than likely this should be treated as either a