They get instantiated if you call setPropertyFileName(). ;-)

I did test this code from a Main() class and it worked just fine...if you
read the javadoc I make explicit statements that say that you need to call
setPropertyFileName() before calling getString().

-jon

> Jon,
> 
> You made changes to use the new resources stuff with code like
> TurbineResources.getString("name");
> 
> These static get* methods never instantiate the GenerResources so we'll get
> a NPE.  We need to use TurbineResources within the service framework or
> provide a convenient wrapper class like Localization.
> 
> Frank


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to