String localItemPath; String itemPath;
String relativePath = null;
    public void drop(DropTargetEvent event) {        if (event.data instanceof String[]) {            String[] files = (String[]) event.data;            File strFilename;            String filePath = null;            String localItemPath;            String itemPath;            for (int i = 0; i < files.length; i++) {                strFilename = new File(files[i]);                filePath = strFilename.getPath();                localItemPath = filePath.substring(filePath                        .indexOf("xdocs")                        + "xdocs".length() + 1);                itemPath = filePath.substring(Utilities                        .getPathToXDocs().length() + 2);                //TODO: Code to add element from drag and drop goes here                                   }        }    }