From 7e1ae3bf0fd0060f30a01d5461634c5a74e744c6 Mon Sep 17 00:00:00 2001 From: j-dimension Date: Wed, 23 Oct 2024 16:43:58 +0200 Subject: [PATCH] add linewrap to transcription outpout. close #2621 --- .../client/editors/documents/viewer/SoundplayerPanel.form | 2 ++ .../client/editors/documents/viewer/SoundplayerPanel.java | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/viewer/SoundplayerPanel.form b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/viewer/SoundplayerPanel.form index d3ede2e62..6c8368f55 100644 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/viewer/SoundplayerPanel.form +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/viewer/SoundplayerPanel.form @@ -163,7 +163,9 @@ + + diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/viewer/SoundplayerPanel.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/viewer/SoundplayerPanel.java index 5225f8580..9c5b877b5 100644 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/viewer/SoundplayerPanel.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/documents/viewer/SoundplayerPanel.java @@ -692,7 +692,6 @@ import javax.swing.Timer; import java.awt.event.ActionEvent; import java.util.ArrayList; -import java.util.Arrays; import java.util.List; import java.util.Map; import javax.sound.sampled.LineEvent; @@ -788,7 +787,9 @@ public void mouseReleased(java.awt.event.MouseEvent evt) { }); taTranscription.setColumns(20); + taTranscription.setLineWrap(true); taTranscription.setRows(5); + taTranscription.setWrapStyleWord(true); jScrollPane1.setViewportView(taTranscription); cmdNewDocument.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/edit.png"))); // NOI18N