no message

This commit is contained in:
2024-10-11 00:00:30 +03:00
parent a11b7711f7
commit f317ab1aa1
341 changed files with 1866 additions and 1688 deletions

View File

@@ -1,5 +1,5 @@
package Common.Visual.DragDrop;
import Common.Utils.CommonUtils;
import Common.Utils.Utils_;
import java.awt.datatransfer.DataFlavor;
import java.io.*;
@@ -314,12 +314,12 @@ public class FileDrop {
} // end try
catch (IOException io) {
log(out, "FileDrop: IOException - abort:");
CommonUtils.MainLog.PrintException(io);
Utils_.MainLog.PrintException(io);
evt.rejectDrop();
} // end catch IOException
catch (java.awt.datatransfer.UnsupportedFlavorException ufe) {
log(out, "FileDrop: UnsupportedFlavorException - abort:");
CommonUtils.MainLog.PrintException(ufe);
Utils_.MainLog.PrintException(ufe);
evt.rejectDrop();
} // end catch: UnsupportedFlavorException
finally {
@@ -446,7 +446,7 @@ public class FileDrop {
dt.addDropTargetListener(dropListener);
} // end try
catch (java.util.TooManyListenersException e) {
CommonUtils.MainLog.PrintException(e);
Utils_.MainLog.PrintException(e);
log(out, "FileDrop: Drop will not work due to previous error. Do you have another listener attached?");
} // end catch
// Listen for hierarchy changes and remove the drop target when the parent gets cleared out.