Results 1 to 6 of 6
  1. #1
    marc.davenne is offline Member
    Join Date
    Apr 2009
    Posts
    4
    Rep Power
    0

    Default FileSystemView getSystemDisplayName bug with Vista

    Hi

    Here is my problem :

    I want to display the list of folders which are on my disk. I use the FileSystemView class and particularly the getSystemDisplayName method which should return the folder name as it would appear in a browser for instance( ex : Mes images (in french) instead of the "pictures")

    It works fine with all of the OS but Vista. I have "pictures" folder displayed instead of the "Mes images" folder. I know things changed from XP to Vista because of the virtual folders so could anyone tell me how (or if) I could get localized folders names in Java when I am running on Vista system

    Thanks to everyone

  2. #2
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    Obvious question, but have you checked whether Vista actually has localised folder names?
    Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
    How To Ask Questions The Smart Way

  3. #3
    marc.davenne is offline Member
    Join Date
    Apr 2009
    Posts
    4
    Rep Power
    0

    Default

    it does

    All my folders are in French as they appear in the window explorer

  4. #4
    marc.davenne is offline Member
    Join Date
    Apr 2009
    Posts
    4
    Rep Power
    0

    Default

    or there is probably something I miss...

    I know there is a thing with the shell32.dll and the registry...

  5. #5
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    The folder names will be stored in a dll referenced by the desktop.ini in the relevant folder. I don't think there's an easy solution.
    Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
    How To Ask Questions The Smart Way

  6. #6
    marc.davenne is offline Member
    Join Date
    Apr 2009
    Posts
    4
    Rep Power
    0

Similar Threads

  1. Applying Vista Buttons for Java JButton
    By viswanadh7 in forum AWT / Swing
    Replies: 4
    Last Post: 03-13-2009, 11:28 AM
  2. Setting classpath in Vista
    By dawiz001 in forum New To Java
    Replies: 2
    Last Post: 02-25-2009, 05:00 PM
  3. java doesnt allow vista to work
    By 10rosas in forum New To Java
    Replies: 5
    Last Post: 12-22-2008, 04:23 PM
  4. run java signed applet in vista
    By nanaji in forum Java Applets
    Replies: 7
    Last Post: 05-14-2008, 11:59 AM
  5. Jar Files on Vista
    By Cazrin in forum Advanced Java
    Replies: 4
    Last Post: 01-09-2008, 06:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •