CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Roman Kennke <rabbit78> 06/08/02 11:31:44
Modified files: javax/swing/plaf/basic: BasicFileChooserUI.java javax/swing/plaf/metal: MetalFileChooserUI.java . : ChangeLog javax/swing/filechooser: FileSystemView.java UnixFileSystemView.java Log message: 2006-08-02 Roman Kennke <[EMAIL PROTECTED]> PR 27604 * javax/swing/plaf/basic/BasicChooserUI.java (BasicFileView.getName): Fetch the real name from the file chooser's FileSystemView. * javax/swing/plaf/metal/MetalChooserUI.java (DirectoryComboBoxRenderer.getListCellRendererComponent): Set the text fetched from the JFileChooser.getName(). * javax/swing/FileSystemView.java (createFileObject): When file is a filesystem root, create a filesystem root object first. (getSystemDisplayName): Return the filename. Added specnote about ShellFolder class that is mentioned in the spec. * javax/swing/UnixFileSystemView.java (getSystemDisplayName): Implemented to return the real name of a file, special handling files like '.' or '..'. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicFileChooserUI.java?cvsroot=classpath&r1=1.27&r2=1.28 http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/metal/MetalFileChooserUI.java?cvsroot=classpath&r1=1.24&r2=1.25 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8293&r2=1.8294 http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/filechooser/FileSystemView.java?cvsroot=classpath&r1=1.10&r2=1.11 http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/filechooser/UnixFileSystemView.java?cvsroot=classpath&r1=1.4&r2=1.5