axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r345013 - in /webservices/axis2/trunk/java/modules/samples/src/sample: amazon/search/GUIHandler.java google/search/GUIHandler.java
Date Wed, 16 Nov 2005 13:39:07 GMT
Author: ruchithf
Date: Wed Nov 16 05:38:35 2005
New Revision: 345013

URL: http://svn.apache.org/viewcvs?rev=345013&view=rev
Log:
Fix to remove JDK 1.5 - unmappable character for encoding ASCII warning in the samples module


Modified:
    webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/GUIHandler.java
    webservices/axis2/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/GUIHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/GUIHandler.java?rev=345013&r1=345012&r2=345013&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/GUIHandler.java
(original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/GUIHandler.java
Wed Nov 16 05:38:35 2005
@@ -113,10 +113,10 @@
 
         SpringLayout.Constraints textBoxConstraints = layout.getConstraints(
                 textBox);
-        xSpring = Spring.constant(0); // Spring we’ll use for X
-        ySpring = Spring.constant(0); // Spring we’ll use for Y
-        wSpring = Spring.constant(frame.getBounds().width); // Spring we’ll use for width
-        hSpring = Spring.constant(30); // Strut we’ll use for height
+        xSpring = Spring.constant(0); // Spring we'll use for X
+        ySpring = Spring.constant(0); // Spring we'll use for Y
+        wSpring = Spring.constant(frame.getBounds().width); // Spring we'll use for width
+        hSpring = Spring.constant(30); // Strut we'll use for height
         textBoxConstraints.setWidth(wSpring); // Set component width constraint
         textBoxConstraints.setHeight(hSpring);
         textBoxConstraints.setX(xSpring); // Set the WEST edge constraint
@@ -124,10 +124,10 @@
 
         SpringLayout.Constraints scrollConstraints = layout.getConstraints(
                 scroll);
-        xSpring = Spring.constant(0); // Spring we’ll use for X
-        ySpring = Spring.constant(30); // Spring we’ll use for Y
-        wSpring = Spring.constant(frame.getBounds().width); // Spring we’ll use for width
-        hSpring = Spring.constant(500); // Strut we’ll use for height
+        xSpring = Spring.constant(0); // Spring we'll use for X
+        ySpring = Spring.constant(30); // Spring we'll use for Y
+        wSpring = Spring.constant(frame.getBounds().width); // Spring we'll use for width
+        hSpring = Spring.constant(500); // Strut we'll use for height
         scrollConstraints.setWidth(wSpring); // Set component width constraint
         scrollConstraints.setHeight(hSpring);
         scrollConstraints.setX(xSpring); // Set the WEST edge constraint

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java?rev=345013&r1=345012&r2=345013&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java
(original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/google/search/GUIHandler.java
Wed Nov 16 05:38:35 2005
@@ -164,10 +164,10 @@
 
         SpringLayout.Constraints textBoxConstraints = layout.getConstraints(
                 textBox);
-        xSpring = Spring.constant(0); // Spring we’ll use for X
-        ySpring = Spring.constant(0); // Spring we’ll use for Y
-        wSpring = Spring.constant(frame.getBounds().width - 8); // Spring we’ll use for
width
-        hSpring = Spring.constant(30); // Strut we’ll use for height
+        xSpring = Spring.constant(0); // Spring we'll use for X
+        ySpring = Spring.constant(0); // Spring we'll use for Y
+        wSpring = Spring.constant(frame.getBounds().width - 8); // Spring we'll use for width
+        hSpring = Spring.constant(30); // Strut we?ll use for height
         textBoxConstraints.setWidth(wSpring); // Set component width constraint
         textBoxConstraints.setHeight(hSpring);
         textBoxConstraints.setX(xSpring); // Set the WEST edge constraint
@@ -175,10 +175,10 @@
 
         SpringLayout.Constraints scrollConstraints = layout.getConstraints(
                 scroll);
-        xSpring = Spring.constant(0); // Spring we’ll use for X
-        ySpring = Spring.constant(30); // Spring we’ll use for Y
-        wSpring = Spring.constant(frame.getBounds().width - 8); // Spring we’ll use for
width
-        hSpring = Spring.constant(450); // Strut we’ll use for height
+        xSpring = Spring.constant(0); // Spring we'll use for X
+        ySpring = Spring.constant(30); // Spring we'll use for Y
+        wSpring = Spring.constant(frame.getBounds().width - 8); // Spring we'll use for width
+        hSpring = Spring.constant(450); // Strut we'll use for height
         scrollConstraints.setWidth(wSpring); // Set component width constraint
         scrollConstraints.setHeight(hSpring);
         scrollConstraints.setX(xSpring); // Set the WEST edge constraint
@@ -186,10 +186,10 @@
 
         SpringLayout.Constraints backBtnConstraints = layout.getConstraints(
                 backButton);
-        xSpring = Spring.constant(50); // Spring we’ll use for X
-        ySpring = Spring.constant(480); // Spring we’ll use for Y
-        wSpring = Spring.constant(200); // Spring we’ll use for width
-        hSpring = Spring.constant(30); // Strut we’ll use for height
+        xSpring = Spring.constant(50); // Spring we'll use for X
+        ySpring = Spring.constant(480); // Spring we'll use for Y
+        wSpring = Spring.constant(200); // Spring we'll use for width
+        hSpring = Spring.constant(30); // Strut we'll use for height
         backBtnConstraints.setWidth(wSpring); // Set component width constraint
         backBtnConstraints.setHeight(hSpring);
         backBtnConstraints.setX(xSpring); // Set the WEST edge constraint
@@ -197,10 +197,10 @@
 
         SpringLayout.Constraints nextBtnConstraints = layout.getConstraints(
                 nextButton);
-        xSpring = Spring.constant(250); // Spring we’ll use for X
-        ySpring = Spring.constant(480); // Spring we’ll use for Y
-        wSpring = Spring.constant(200); // Spring we’ll use for width
-        hSpring = Spring.constant(30); // Strut we’ll use for height
+        xSpring = Spring.constant(250); // Spring we?ll use for X
+        ySpring = Spring.constant(480); // Spring we?ll use for Y
+        wSpring = Spring.constant(200); // Spring we?ll use for width
+        hSpring = Spring.constant(30); // Strut we?ll use for height
         nextBtnConstraints.setWidth(wSpring); // Set component width constraint
         nextBtnConstraints.setHeight(hSpring);
         nextBtnConstraints.setX(xSpring); // Set the WEST edge constraint



Mime
View raw message