File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JFilechooser for Israel/Hebrew locale Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JFilechooser for Israel/Hebrew locale" Watch "JFilechooser for Israel/Hebrew locale" New topic

JFilechooser for Israel/Hebrew locale

Chris Kimball
Ranch Hand

Joined: Apr 23, 2012
Posts: 32

On Mac OSX 10.7.4 with Java 1.6, I've been unable to localize JFileChooser to Locale("he", "IW") even though the Locale appears on the getAvailableLocales() list. I can localize it to Locale.GERMAN and get a valid result.

Does anyone have a JFileChooser for Israeli Hebrew they'd share?


Chris Kimball
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 36513
Is Israel really IW? Isn’t it IL or ISR?
Chris Kimball
Ranch Hand

Joined: Apr 23, 2012
Posts: 32

It's IW moving to IL. I tried both. The Locale.getavailableLocales() returns an IW value, I used that specific Locale, from the list, for JFileChooser.

I think the Locale is un-implemented. It didn't work on a Windows 7 system, either.


It is sorta covered in the JavaRanch Style Guide.
subject: JFilechooser for Israel/Hebrew locale
Similar Threads
Is there any Browse button control in Swing ??
Choosing path to save file
Simple file browser !!!!!!
File browser crash course
how to write coding for browse button in java swing?