diff --git a/designer-base/src/main/java/com/fr/design/javascript/JSContentPane.java b/designer-base/src/main/java/com/fr/design/javascript/JSContentPane.java index a01efd9e9f..5656bd3391 100644 --- a/designer-base/src/main/java/com/fr/design/javascript/JSContentPane.java +++ b/designer-base/src/main/java/com/fr/design/javascript/JSContentPane.java @@ -279,7 +279,7 @@ public class JSContentPane extends BasicPane { */ private String createFunctionTitle(String[] args) { StringBuffer sb = new StringBuffer(); - sb.append("
function("); + sb.append("
function("); int width = titleWidth; FontMetrics cellFM = this.getFontMetrics(this.getFont()); int tempwidth = 0;