diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/util/FileDrop.java b/src/main/java/the/bytecode/club/bytecodeviewer/util/FileDrop.java index e3cf56c6..2b74a904 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/util/FileDrop.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/util/FileDrop.java @@ -444,10 +444,10 @@ public class FileDrop { boolean support; try { final Class arbitraryDndClass = Class - .forName("DnDConstants"); + .forName("java.awt.dnd.DnDConstants"); support = true; } // end try - catch (final Exception e) { + catch (final Throwable t) { support = false; } // end catch supportsDnD = support;