diff --git a/Tank/src/FormTankConfig.java b/Tank/src/FormTankConfig.java index 846160d..37a5413 100644 --- a/Tank/src/FormTankConfig.java +++ b/Tank/src/FormTankConfig.java @@ -289,12 +289,12 @@ public class FormTankConfig { canvas.setTransferHandler( new TransferHandler(){ @Override - public boolean canImport(TransferSupport support) { + public boolean canImport(TransferHandler.TransferSupport support) { return support.isDataFlavorSupported(DataFlavor.stringFlavor); } @Override - public boolean importData(TransferSupport support) { + public boolean importData(TransferHandler.TransferSupport support) { if (canImport(support)) { try { String data = (String) support.getTransferable().getTransferData(DataFlavor.stringFlavor);