Wednesday, 11 September 2013

Javan SE M'aven proyect using ResourceBoundle for internazionalization

Javan SE M'aven proyect using ResourceBoundle for internazionalization

I'm working into a swing application that have to be able to be localiced.
for that purpose i'm using a resourceBundle, that works fine when i run
the aplication from the ide; but, when i use maven to generate the jar,
the application startsup normally but the internazionalization stops
working, without throwing any expception, i have make a lot of variations
to solve that problem even i have make a class that inherits from
java.util.ResourceBundle.Control, but the only think that i have achieve
is to make it work placing the properties files outside the package, (i
place it into desktop; just for test), then i try to use the same method
but specifying the path, by new File(".").getAbsolutePath()
doing that still keeps working from runing ti from elcipse but when i try
to generate the jar and execute it then it throws and exception and the
application not even start

No comments:

Post a Comment