Thursday, May 12, 2005

How to get localized objects in Java?

A lot of "i18N" programs only have to deal with "strings" that need to be localized. For e.g. labels, other text etc.
But what if U need a localized object ?..i.e a double object, a JPEG object etc.

There is a special class in Java "ListResourceBundle" that allows a ResourseBundle to be loaded from a ".class" file.
Read the tutorial below for more info :
http://java.sun.com/docs/books/tutorial/i18n/resbundle/list.html