From 82ffdea414be32b2fee43828940c0af3c0f17801 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Mon, 16 Sep 2024 09:18:44 +0100 Subject: [PATCH] JAL-4461 Move SwingUtils to darrylbu.util.SwingUtils, more appropriate --- src/{jalview => darrylbu}/util/SwingUtils.java | 3 +-- src/jalview/io/JalviewFileChooser.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename src/{jalview => darrylbu}/util/SwingUtils.java (99%) 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; /** -- 1.7.10.2