From a8012886e59ec29c926fc007304b9505baaa59b4 Mon Sep 17 00:00:00 2001 From: Exund Date: Sun, 28 Apr 2024 01:53:40 +0200 Subject: [PATCH] Change Dialogue to Dialog --- ...pritesDialogue.java => CollectDepthAsSpritesDialog.java} | 4 ++-- ...ue.properties => CollectDepthAsSpritesDialog.properties} | 0 .../decompiler/flash/gui/tagtree/TagTreeContextMenu.java | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/com/jpexs/decompiler/flash/gui/{CollectDepthAsSpritesDialogue.java => CollectDepthAsSpritesDialog.java} (97%) rename src/com/jpexs/decompiler/flash/gui/locales/{CollectDepthAsSpritesDialogue.properties => CollectDepthAsSpritesDialog.properties} (100%) diff --git a/src/com/jpexs/decompiler/flash/gui/CollectDepthAsSpritesDialogue.java b/src/com/jpexs/decompiler/flash/gui/CollectDepthAsSpritesDialog.java similarity index 97% rename from src/com/jpexs/decompiler/flash/gui/CollectDepthAsSpritesDialogue.java rename to src/com/jpexs/decompiler/flash/gui/CollectDepthAsSpritesDialog.java index ba3c420d8..66008da9f 100644 --- a/src/com/jpexs/decompiler/flash/gui/CollectDepthAsSpritesDialogue.java +++ b/src/com/jpexs/decompiler/flash/gui/CollectDepthAsSpritesDialog.java @@ -38,7 +38,7 @@ import javax.swing.ListSelectionModel; * * @author JPEXS */ -public class CollectDepthAsSpritesDialogue extends AppDialog { +public class CollectDepthAsSpritesDialog extends AppDialog { private final JButton okButton = new JButton(translate("button.ok")); @@ -54,7 +54,7 @@ public class CollectDepthAsSpritesDialogue extends AppDialog { private int result = ERROR_OPTION; - public CollectDepthAsSpritesDialogue(Window owner) { + public CollectDepthAsSpritesDialog(Window owner) { super(owner); setSize(400, 150); setDefaultCloseOperation(JDialog.HIDE_ON_CLOSE); diff --git a/src/com/jpexs/decompiler/flash/gui/locales/CollectDepthAsSpritesDialogue.properties b/src/com/jpexs/decompiler/flash/gui/locales/CollectDepthAsSpritesDialog.properties similarity index 100% rename from src/com/jpexs/decompiler/flash/gui/locales/CollectDepthAsSpritesDialogue.properties rename to src/com/jpexs/decompiler/flash/gui/locales/CollectDepthAsSpritesDialog.properties diff --git a/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java b/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java index c70ac2134..474a202ad 100644 --- a/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java +++ b/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java @@ -36,7 +36,7 @@ import com.jpexs.decompiler.flash.configuration.SwfSpecificCustomConfiguration; import com.jpexs.decompiler.flash.gui.AppDialog; import com.jpexs.decompiler.flash.gui.AppStrings; import com.jpexs.decompiler.flash.gui.ClipboardType; -import com.jpexs.decompiler.flash.gui.CollectDepthAsSpritesDialogue; +import com.jpexs.decompiler.flash.gui.CollectDepthAsSpritesDialog; import com.jpexs.decompiler.flash.gui.Main; import com.jpexs.decompiler.flash.gui.MainPanel; import com.jpexs.decompiler.flash.gui.ReplaceCharacterDialog; @@ -4122,9 +4122,9 @@ public class TagTreeContextMenu extends JPopupMenu { } } - CollectDepthAsSpritesDialogue dialog = new CollectDepthAsSpritesDialogue(Main.getDefaultDialogsOwner()); + CollectDepthAsSpritesDialog dialog = new CollectDepthAsSpritesDialog(Main.getDefaultDialogsOwner()); - if (dialog.showDialog(originalDepths) != CollectDepthAsSpritesDialogue.OK_OPTION) { + if (dialog.showDialog(originalDepths) != CollectDepthAsSpritesDialog.OK_OPTION) { return; }