File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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?

Thanks,

Chris Kimball
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38818
    
  23
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.

Thanks,

Chris
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JFilechooser for Israel/Hebrew locale