From: Ben Soares Date: Mon, 16 Sep 2024 08:18:44 +0000 (+0100) Subject: JAL-4461 Move SwingUtils to darrylbu.util.SwingUtils, more appropriate X-Git-Tag: Release_2_11_4_0~5^2~2^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fimprovement%2FJAL-4461_select_format_from_extension;p=jalview.git JAL-4461 Move SwingUtils to darrylbu.util.SwingUtils, more appropriate --- diff --git a/src/jalview/util/SwingUtils.java b/src/darrylbu/util/SwingUtils.java similarity index 99% rename from src/jalview/util/SwingUtils.java rename to src/darrylbu/util/SwingUtils.java index cd9c52d..de295f4 100644 --- a/src/jalview/util/SwingUtils.java +++ b/src/darrylbu/util/SwingUtils.java @@ -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; diff --git a/src/jalview/io/JalviewFileChooser.java b/src/jalview/io/JalviewFileChooser.java index 2e64af6..7f79fe3 100755 --- a/src/jalview/io/JalviewFileChooser.java +++ b/src/jalview/io/JalviewFileChooser.java @@ -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; /**