private boolean testFlavor(DataFlavor inFlavor, Transferable t) { if (inFlavor != null) { if (t.isDataFlavorSupported(inFlavor)) { JConfig.log().logVerboseDebug("Accepting(2): " + inFlavor.getMimeType()); return true; } } return false; }
private boolean testFlavor(DataFlavor inFlavor, DropTargetDragEvent t) { if (inFlavor != null) { if (t.isDataFlavorSupported(inFlavor)) { /* * I think this has been debugged enough. This gets annoying. */ JConfig.log().logVerboseDebug("Accepting(1): " + inFlavor.getMimeType()); return true; } } return false; }