From f183a2d5e372ac2e409916650418dc387977ed80 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Thu, 25 May 2023 20:30:01 +0300 Subject: [PATCH] [new/ui] Add the Tafser text area in the details dialog --- .../ayah/dialogs/AyahDetailsDialog.form | 65 +++++++++++++++++-- .../ayah/dialogs/AyahDetailsDialog.java | 4 +- 2 files changed, 64 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.form b/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.form index 8d28764..8b4018b 100644 --- a/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.form +++ b/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.form @@ -1,9 +1,9 @@
- + - + @@ -13,7 +13,7 @@ - + @@ -107,7 +107,7 @@ - + @@ -137,6 +137,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.java b/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.java index a0f8a1b..1196010 100644 --- a/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.java +++ b/src/main/java/com/anas/intellij/plugins/ayah/dialogs/AyahDetailsDialog.java @@ -4,7 +4,6 @@ import com.anas.alqurancloudapi.Ayah; import com.anas.alqurancloudapi.consts.Constants; import com.anas.intellij.plugins.ayah.audio.AudioPlayer; import com.anas.intellij.plugins.ayah.audio.PlayerListener; -import javazoom.jl.player.advanced.PlaybackEvent; import javax.swing.*; import java.awt.event.KeyEvent; @@ -28,6 +27,9 @@ public class AyahDetailsDialog extends JDialog implements PlayerListener { private JButton previousButton; private JButton nextButton; private JCheckBox autoPlayCheckBox; + private JTextArea tafserTextArea; + private JComboBox comboBox1; + private JComboBox comboBox2; private boolean isPlaying; private AudioPlayer audioPlayer; private Ayah ayah;