Skip to content

Commit 566527e

Browse files
committed
Fix file drop that I accidentally broke...
1 parent da375b3 commit 566527e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/the/bytecode/club/bytecodeviewer/util/FileDrop.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,10 @@ private static boolean supportsDnD() { // Static Boolean
444444
boolean support;
445445
try {
446446
final Class arbitraryDndClass = Class
447-
.forName("DnDConstants");
447+
.forName("java.awt.dnd.DnDConstants");
448448
support = true;
449449
} // end try
450-
catch (final Exception e) {
450+
catch (final Throwable t) {
451451
support = false;
452452
} // end catch
453453
supportsDnD = support;

0 commit comments

Comments
 (0)