< prev index next >

src/java.desktop/share/classes/sun/awt/shell/ShellFolderManager.java

Print this page

        

*** 83,92 **** --- 83,95 ---- // Return an array of ShellFolders representing well-known // folders, such as Desktop, Documents, History, Network, Home, etc. // This is used in the shortcut panel of the filechooser on Windows 2000 // and Windows Me return new File[] { (File)get("fileChooserDefaultFolder") }; + } else if(key.startsWith("parseDisplayName ")) { + String path = key.substring("parseDisplayName ".length()); + return new File(path); } return null; } /**
< prev index next >