diff --git a/designer_base/src/com/fr/design/javascript/EmailPane.java b/designer_base/src/com/fr/design/javascript/EmailPane.java index 92ac38f52..9f8084d77 100644 --- a/designer_base/src/com/fr/design/javascript/EmailPane.java +++ b/designer_base/src/com/fr/design/javascript/EmailPane.java @@ -27,7 +27,7 @@ public class EmailPane extends FurtherBasicBeanPane { protected UILabel tipsPane2; protected JPanel centerPane; protected UICheckBox showTplContent; - private JTextPane mainTextEditor; + private JTextArea mainTextEditor; public EmailPane() { this.initComponents(); @@ -44,7 +44,7 @@ public class EmailPane extends FurtherBasicBeanPane { UILabel mainTextLabel = new UILabel(Inter.getLocText("FR-Designer_EmailPane-mailContent") + ":"); mainTextLabel.setHorizontalAlignment(SwingConstants.RIGHT); mainTextLabel.setVerticalAlignment(SwingConstants.TOP); - JScrollPane scrollPane = new JScrollPane(mainTextEditor = new JTextPane()); + JScrollPane scrollPane = new JScrollPane(mainTextEditor = new JTextArea()); scrollPane.setBorder(null); double fill = TableLayout.FILL; double preferred = TableLayout.PREFERRED;