public File createFileObject(String path){
  if (path.length() >= 2 && path.charAt(1) == ':' && Character.isLetter(path.charAt(0))) {
    if (path.length() == 2) {
      path+="\\";
    }
 else     if (path.charAt(2) != '\\') {
      path=path.substring(0,2) + "\\" + path.substring(2);
    }
  }
  return super.createFileObject(path);
}

public File createFileObject ( String path ) { if ( path . length ( ) >= 2 && path . charAt ( 1 ) == ':' && Character . isLetter ( path . charAt ( 0 ) ) ) { if ( path . length ( ) == 2 ) { path += "\\" ; } else if ( path . charAt ( 2 ) != '\\' ) { path = path . substring ( 0 , 2 ) + "\\" + path . substring ( 2 ) ; } } return super . createFileObject ( path ) ; }
returns a file object constructed from the given path string .
