Originally posted by Namitha karupaiya:
As Java support internationalization, as thought there may be a built in facility like this. If there is a built in facility like this it will be pleasing.
Mmmm...how do you expect Java to provide a built in facility like this? From where will Java get the list of countries in the world? Do you expect them to hard-code it somewhere (as constants may be). What if a new country is created? What if an existing country disappears (say it got merged with another country)? How can the list be updated in those cases.
And providing just a list of Country names will be very primitive. If at all it has to add some value, it should include lot of other information (like capital name, currency etc), which might change.
Even you can't create a API to do this. You can expose these information us a web service for others to use, may be
[ October 07, 2004: Message edited by: Mani Ram ]