From ea5d00868df8894f2a930e82476853dbce572739 Mon Sep 17 00:00:00 2001 From: rememberber Date: Fri, 6 Dec 2024 17:39:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../luoboduner/moo/tool/ui/form/TranslationLayoutForm.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/luoboduner/moo/tool/ui/form/TranslationLayoutForm.java b/src/main/java/com/luoboduner/moo/tool/ui/form/TranslationLayoutForm.java index deaf86ce..e5885626 100644 --- a/src/main/java/com/luoboduner/moo/tool/ui/form/TranslationLayoutForm.java +++ b/src/main/java/com/luoboduner/moo/tool/ui/form/TranslationLayoutForm.java @@ -33,6 +33,9 @@ public TranslationLayoutForm() { UndoUtil.register(this); + textArea1.setLineWrap(true); + textArea2.setLineWrap(true); + addListeners(); } @@ -108,6 +111,7 @@ public void changedUpdate(DocumentEvent e) { public void translateControl() { Thread thread = new Thread(() -> { changeCount.incrementAndGet(); + textArea2.setText("^_^……"); try { Thread.sleep(500); } catch (InterruptedException e) {