1 package org.catacomb.druid.swing.dnd;
2
3 import org.catacomb.report.E;
4
5 import javax.swing.TransferHandler;
6 import javax.swing.JComponent;
7 import java.awt.datatransfer.DataFlavor;
8
9
10 public class InternalTransferHandler extends TransferHandler {
11 private static final long serialVersionUID = 1L;
12
13 public InternalTransferHandler() {
14 super();
15 }
16
17
18 public boolean canImport(JComponent comp, DataFlavor[] transferFlavors) {
19 E.info("DTransferHandler asked about import of " + transferFlavors);
20 return true;
21 }
22
23 }