summaryrefslogtreecommitdiff
path: root/javax/swing/JFrame.java
diff options
context:
space:
mode:
Diffstat (limited to 'javax/swing/JFrame.java')
-rw-r--r--javax/swing/JFrame.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/javax/swing/JFrame.java b/javax/swing/JFrame.java
index e54d453b8..0c956b396 100644
--- a/javax/swing/JFrame.java
+++ b/javax/swing/JFrame.java
@@ -38,6 +38,8 @@ exception statement from your version. */
package javax.swing;
+import gnu.java.lang.CPStringBuilder;
+
import java.awt.AWTEvent;
import java.awt.BorderLayout;
import java.awt.Component;
@@ -341,7 +343,7 @@ public class JFrame extends Frame
*/
protected String paramString()
{
- StringBuffer sb = new StringBuffer(super.paramString());
+ CPStringBuilder sb = new CPStringBuilder(super.paramString());
sb.append(",defaultCloseOperation=");
sb.append(SwingUtilities.convertWindowConstantToString(
getDefaultCloseOperation()));