diff --git a/Tank/src/FormTankConfig.java b/Tank/src/FormTankConfig.java index 8ecce0c..846160d 100644 --- a/Tank/src/FormTankConfig.java +++ b/Tank/src/FormTankConfig.java @@ -231,12 +231,12 @@ public class FormTankConfig { labelAdditionalColor.setTransferHandler( new TransferHandler(){ @Override - public boolean canImport(TransferSupport support) { + public boolean canImport(TransferHandler.TransferSupport support) { return support.isDataFlavorSupported(ColorTransferable.colorDataFlavor); } @Override - public boolean importData(TransferSupport support) { + public boolean importData(TransferHandler.TransferSupport support) { if (canImport(support)) { try { Color color = (Color) support.getTransferable().getTransferData(ColorTransferable.colorDataFlavor); @@ -262,12 +262,12 @@ public class FormTankConfig { labelWheel.setTransferHandler( new TransferHandler(){ @Override - public boolean canImport(TransferSupport support) { + public boolean canImport(TransferHandler.TransferSupport support) { return support.isDataFlavorSupported(WheelTransferable.wheelDrawingDataFlavor); } @Override - public boolean importData(TransferSupport support) { + public boolean importData(TransferHandler.TransferSupport support) { if (canImport(support)) { try { IOrnamentForm wheelDrawing = (IOrnamentForm) support.getTransferable().getTransferData(WheelTransferable.wheelDrawingDataFlavor);