JAL-4461 Move SwingUtils to darrylbu.util.SwingUtils, more appropriate improvement/JAL-4461_select_format_from_extension
authorBen Soares <b.soares@dundee.ac.uk>
Mon, 16 Sep 2024 08:18:44 +0000 (09:18 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Mon, 16 Sep 2024 08:18:44 +0000 (09:18 +0100)
src/darrylbu/util/SwingUtils.java [moved from src/jalview/util/SwingUtils.java with 99% similarity]
src/jalview/io/JalviewFileChooser.java

similarity index 99%
rename from src/jalview/util/SwingUtils.java
rename to src/darrylbu/util/SwingUtils.java
index cd9c52d..de295f4 100644 (file)
@@ -3,8 +3,7 @@
  *
  */
 /* from https://github.com/tips4java/tips4java/blob/main/source/SwingUtils.java MIT License */
-//package darrylbu.util;
-package jalview.util;
+package darrylbu.util;
 
 import java.awt.Component;
 import java.awt.Container;
index 2e64af6..7f79fe3 100755 (executable)
@@ -58,13 +58,13 @@ import javax.swing.border.TitledBorder;
 import javax.swing.filechooser.FileFilter;
 import javax.swing.plaf.basic.BasicFileChooserUI;
 
+import darrylbu.util.SwingUtils;
 import jalview.bin.Cache;
 import jalview.gui.AlignFrame;
 import jalview.gui.JvOptionPane;
 import jalview.util.ChannelProperties;
 import jalview.util.MessageManager;
 import jalview.util.Platform;
-import jalview.util.SwingUtils;
 import jalview.util.dialogrunner.DialogRunnerI;
 
 /**