> Hi, > I have now released JSpecView as Open Source Excellent! Contratulations!
> and very quickly informed > that there are problems in Germany since the decimal point in the > JCAMP-DX data files is converted automatically to commas by the > Operating System. Hmmm ... in this situation I suggest that you consider using different routines to read the data files. I assume that you are using some locale-specific routines that are basically designed for reading localized input. But your data is not like that ... it is in a standard format. > For the standalone application JAR I have used setDefault to override > the Locale setting and have enforced US. Wiring everything to the US is clearly not a long-term solution. > The problem is with the applet > since if I change the default it will affect any other applets running > in the same workspace, including Jmol. Yes, it probably affects the entire JVM. > Any suggestions as to how to sort out the applets independently (other > than find everywhere that Locale is implicated and using a setLocale). I don't have a lot of experience with localization issues in Java, but I am willing to investigate. We'll either find you a way to set the locale just for the file reading methods OR we will find some other file reading primitives for you to use. If you want, point me to some of your file-reading source code so that I can see what kinds of routines you are using ... then I will investigate. 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
