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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 38045
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.


I agree. Here's the link:
subject: JFilechooser for Israel/Hebrew locale
Similar Threads
how to write coding for browse button in java swing?
Choosing path to save file
File browser crash course
Simple file browser !!!!!!
Is there any Browse button control in Swing ??