Skip to content

Monthly Archives: October 2009

Java: Localized number formatting

The other day, I had an NLS bug to respond to, and realized I didn't know how numbers were formatted for any locales other than English and French. Quick, to the JVM:

ar 3,141.59
ar_AE 3,141.59
ar_BH 3,141.59
ar_DZ [...]

JavaFX: binding property values to anonymous function calls

Summary: When binding to anonymous functions in JavaFX, make sure you bind to the value of evaluating the function rather than the function itself.
One of the most useful aspects of JavaFX is property binding. This allows a more declarative description of how the various UI and model components interact, and frees the user from [...]