The Open Source Physics website will be unavailable Friday evening through Saturday afternoon as electrical work occurs in the American Center of Physics server room. Down time will begin at 6PM Eastern Time on Friday. Service is expected to resume by 6PM on Saturday, July 30.

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Internationalization, decimal comma instead of dot.

Return to the EJS Modeling forum
Login to post to this thread

Decimal comma instead of dot. - Jun 24, 2013 at 10:17AM
Gustavo Rascioni
2 Posts

Hi all,
I have several number fields with the format: "0.###". But when I try to change it (even using the "Add language facilities" feature) to "0,###", I get the following error:
  Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.colos.ejs.library.control.swing.ControlNumberField.setValue(Unknown Source)
at org.colos.ejs.library.control.ControlElement.setProperty(Unknown Source)

I'd appreciate any help.
Thanks,
Gustavo


Current Replies - View all
Re: Decimal comma instead...   (Francisco Esquembre - Jun 24, 2013 at 3:03PM)
Re: Re: Decimal comma ins...   (Gustavo Rascioni - Jun 24, 2013 at 3:44PM)
Re: Re: Re: Decimal comma...   (Francisco Esquembre - Jun 24, 2013 at 6:38PM)
The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics