summaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/swing/JProgressBar.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/swing/JProgressBar.java')
-rw-r--r--libjava/classpath/javax/swing/JProgressBar.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/javax/swing/JProgressBar.java b/libjava/classpath/javax/swing/JProgressBar.java
index ed2d0088d06..b20b02a0606 100644
--- a/libjava/classpath/javax/swing/JProgressBar.java
+++ b/libjava/classpath/javax/swing/JProgressBar.java
@@ -38,6 +38,8 @@ exception statement from your version. */
package javax.swing;
+import gnu.java.lang.CPStringBuilder;
+
import java.awt.Graphics;
import java.beans.PropertyChangeEvent;
@@ -786,7 +788,7 @@ public class JProgressBar extends JComponent implements SwingConstants,
protected String paramString()
{
String superParamStr = super.paramString();
- StringBuffer sb = new StringBuffer();
+ CPStringBuilder sb = new CPStringBuilder();
sb.append(",orientation=");
if (orientation == HORIZONTAL)
sb.append("HORIZONTAL");