-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P3
-
None
-
Affects Version/s: 1.2.2
-
Component/s: client-libs
-
generic
-
generic
Name: vi73552 Date: 06/03/99
return type in javax.swing.JOptionPane.showInternalInputDialog()
is defined as Object, but returned value is casted to String!!
public static Object showInternalInputDialog(Component parentComponent,
Object message, String title, int messageType, Icon icon,
Object[] selectionValues, Object initialSelectionValue) {
.....
return (String) value;
}
(Review ID: 83889)
======================================================================
- relates to
-
JDK-4267753 Illegal cast to String in javax.swing.JOptionPane.showInternalInputDialog()
-
- Closed
-