Fix file drop that I accidentally broke...
This commit is contained in:
parent
da375b3a3c
commit
566527e4a1
1 changed files with 2 additions and 2 deletions
|
@ -444,10 +444,10 @@ public class FileDrop {
|
||||||
boolean support;
|
boolean support;
|
||||||
try {
|
try {
|
||||||
final Class arbitraryDndClass = Class
|
final Class arbitraryDndClass = Class
|
||||||
.forName("DnDConstants");
|
.forName("java.awt.dnd.DnDConstants");
|
||||||
support = true;
|
support = true;
|
||||||
} // end try
|
} // end try
|
||||||
catch (final Exception e) {
|
catch (final Throwable t) {
|
||||||
support = false;
|
support = false;
|
||||||
} // end catch
|
} // end catch
|
||||||
supportsDnD = support;
|
supportsDnD = support;
|
||||||
|
|
Loading…
Reference in a new issue