Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to overcome this ??  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends.
some files im my system are named using a language other than English (and this language is installed in my system too).
I have a JFileChooser instance, and I want to navigate to the previous folders/files , but the chooser is displaying ??? instead of the real names of the folders, which ofcourse its not friendly to the users.
how to overcome this problem ??
 
clio katz
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you be more specific about the app-platform re: jvm, os, lang, etc?

jfilechooser display s.b. locale-specific (v1.2+) ... are you seeking to display OS-filenames created using >1 locale?
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JVM 1.4.0
OS : WinXP
I don't want the JFileChooser to be i18nzed, I just want to display the correct name of files and folders instead of ??? chars
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!