Form property formatter

Hi:

I have this for a table:

tabla=new Table(){
		    @Override
		    protected String formatPropertyValue(Object rowId,
		            Object colId, Property property) {
		        if (property.getType() == Double.class) {
		            DecimalFormat df =
		                new DecimalFormat("#,###,###,##0");
		            return df.format((Double) property.getValue());
		        }
		        if (property.getType() == Integer.class) {
		            DecimalFormat df =
		                new DecimalFormat("#,###,###,##0");
		            return df.format((Integer) property.getValue());
		        }
		        return super.formatPropertyValue(rowId, colId, property);
		    }
		};

It works perfect, but now I need that same formatting for a form, and I haven’t found a way to use property formatter or whatever it is that is needed to format the number inside a form field…Is there any example code? does anybody know a solution for this?

regards, and thank you very much…