There is a subtlety about this when using WebStart. JWS uses its
own ClassLoader instance to load classes from the resource JARs,
and the default loader to load the Toolbox (and other classes from
the BOOTCLASSPATH). This may account for the problem. When the
resource bundle is in a JNLP resource JARs, you should use the JWS
ClassLoader to fetch them. To do this, use one of your own classes
instead of Toolbox, obtain its class loader, and use that to fetch
the resource:
The 'Toolbox' class I use is my own class
(com.bardac.dw1.tools.Toolbox), not a system class (in fact, I'm
not aware of any system class called 'Toolbox').
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden