dcsimg
Applets + PropertyResourceBundle
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   a_a
Posted On:   Tuesday, May 28, 2002 06:11 PM

Hi , I have import and export buttons in my Applet when the user clicks on import , I load a file chooser where he is prompted to select a properties file. When he clicks on approve button I parse the properties file and get the kay values to create a instance of a new class My question is How will this handle internationalization Right now I am just doing this: File f = chooser.getSelectedFile(); PropertyResourceBundle importResourcesRB = new PropertyResourceBundle(new FileInputStream(f)); What should I do so that I am able to read locale specific .properties file Also when I click on export I nee   More>>


Hi , I have import and export buttons in my Applet


when the user clicks on import , I load a file chooser
where he is prompted to select a properties file.

When he clicks on approve button I parse the properties file
and get the kay values to create a instance of a new class


My question is How will this handle internationalization


Right now I am just doing this:

File f = chooser.getSelectedFile();
PropertyResourceBundle importResourcesRB = new PropertyResourceBundle(new FileInputStream(f));

What should I do so that I am able to read locale specific
.properties file



Also when I click on export I need to create a .properties
file.

How Can I generate a locale specific .properties file


Please help

   <<Less
About | Sitemap | Contact