-
Bug
-
Resolution: Fixed
-
P2
-
1.2.0
-
swing1.0fcs
-
generic, x86
-
generic, windows_nt
-
Verified
The following one line causes an exception with Swing-0.7:
String s = JOptionPane.showInputDialog("Input: ");
java.lang.IllegalArgumentException: null parent frame
> at java.awt.Window.<init>(Window.java:93)
> at java.awt.Dialog.<init>(Dialog.java:111)
It was fine with Swing-0.6.1.
String s = JOptionPane.showInputDialog("Input: ");
java.lang.IllegalArgumentException: null parent frame
> at java.awt.Window.<init>(Window.java:93)
> at java.awt.Dialog.<init>(Dialog.java:111)
It was fine with Swing-0.6.1.
- duplicates
-
JDK-4109275 Passing null to JOptionPane.showMessageDialog() causes exception
-
- Closed
-