Fix file drop that I accidentally broke...

This commit is contained in:
Nico Mexis 2021-08-01 12:09:14 +02:00
parent da375b3a3c
commit 566527e4a1
No known key found for this signature in database
GPG Key ID: 27D6E17CE092AB78
1 changed files with 2 additions and 2 deletions

View File

@ -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;