--- old/src/share/classes/javax/swing/JOptionPane.java 2014-01-09 11:49:51.000000000 -0800
+++ new/src/share/classes/javax/swing/JOptionPane.java 2014-01-09 11:49:51.000000000 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -131,7 +131,7 @@
* Parameters:
* The parameters to these methods follow consistent patterns:
*
- *+ *
*
- parentComponent
- * Defines the
Component
that is to be the parent of this * dialog box. @@ -149,7 +149,7 @@ *String
constant. * However, the type of this parameter is actuallyObject
. Its * interpretation depends on its type: - *+ *
*
- Object[]
- An array of objects is interpreted as a series of * messages (one per object) arranged in a vertical stack. * The interpretation is recursive -- each object in the @@ -187,7 +187,7 @@ *
String
s. But * the parameter type is an array ofObjects
. * A button is created for each object depending on its type: - *+ *
*
- Component
- The component is added to the button row directly. *
- Icon
- A
JButton
is created with this as its label. *- other
- The
Object
is converted to a string using its