table.getItem(itemId).getItemProperty(CURRENCY_PROPERTY)
.setValue(3.1415);
table.getItem(itemId).getItemProperty(DEFAULT_PROPERTY)
.setValue(3.1415);
table.setConverter(PERCENT_PROPERTY, new StringToDoubleConverter() {
@Override
protected NumberFormat getFormat(Locale locale) {
return NumberFormat.getPercentInstance(locale);
}
});
table.setConverter(CURRENCY_PROPERTY, new StringToDoubleConverter() {
@Override
protected NumberFormat getFormat(Locale locale) {
return NumberFormat.getCurrencyInstance(locale);
}
});