[Openjnlp-devel] openjnlp.properties vs. a resource bundle
Brought to you by:
kherr
From: Christopher H. <he...@ez...> - 2002-02-18 04:27:43
|
Hi Kevin, all We're bumping into some problems with the location of the lib/openjnlp.properties files. Since we can't control what directory the user will invoke OpenJNLP from, or where they will install it, this is causing problems (especially in Windows). Do you see any difficulty with converting the info in openjnlp.properties into a resource bundle and putting that in the .jar? The idea would be to name resources like this launcher.<resource>.<os> For example, launcher.main.unix, and synthesize the names based on OS flavor before looking them up. This means that the info will no longer be user editable, but I'm not sure that's a good idea anyways. On the other hand, it would probably enable the discard of the fancy Mac OS classic code in Launcher. Thanks, Chris |