> On looking through the Locale sensitive calls, of which there are over 10,
> I see that JSpecView is only using 2 or 3 of them.
>
> The one of interest was DecimalFormat so I changed all (~20) occurrences
> of
> things like
> new DecimalFormat("0.000000") to
>
> new DecimalFormat("0.000000", new DecimalFormatSymbols(java.util.Locale.US
> ));
>
> and removed the setDefault(US) so that system calls are now in the
> language set by the OS and not all forced into English.
>
> This seems to work at least when I set my PC to French and German
> the program and applet runs and reads files OK.Very good. Miguel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
