6735285: "Zero" x,y springs passed to SpringLayout.Constraints constructor are not returned from getters
Reviewed-by: rupashka
--- a/jdk/src/share/classes/javax/swing/SpringLayout.java Thu Mar 24 15:29:16 2011 +0900
+++ b/jdk/src/share/classes/javax/swing/SpringLayout.java Thu Mar 24 17:00:42 2011 +0300
@@ -727,6 +727,9 @@
* For any other <code>String</code> value passed as the edge,
* no action is taken. For a <code>null</code> edge, a
* <code>NullPointerException</code> is thrown.
+ * <p/>
+ * <b>Note:</b> This method can affect {@code x} and {@code y} values
+ * previously set for this {@code Constraints}.
*
* @param edgeName the edge to be set
* @param s the spring controlling the specified edge