This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JFilechooser for Israel/Hebrew locale

 
Chris Kimball
Ranch Hand
Posts: 35
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 49789
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Israel really IW? Isn’t it IL or ISR?
 
Chris Kimball
Ranch Hand
Posts: 35
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic