check the API at
http://java.sun.com/j2se/1.3/docs/api/index.html Suppose we have a PropertyResourceBundle 'test.properties'. This ResourceBundle contains the keys 'key1' and 'key2'.
try
{
ResourceBundle resb = ResourceBundle.getBundle(
test);
String keyValue1 = (String)resb.getObject(this.key1);
String keyValue2 = (String)resb.getObject(this.key2);
}
catch(MissingResourceException e)
{
e.printStackTrace();
}
Cheers,<br />Rani<br />SCJP, SCWCD, SCBCD