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

Locales in applet

 
Raja
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I execute the following line in TextPad, it returning 148 locales. If I run the same in an applet or in DOS prompt, it returning only 2.
Locale[] locales = Locale.getAvailableLocales();
How to get 148 locales in Applet?.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic