We will overhaul the converter interface in the next version so that it should be simpler.
johan
On 5/9/06,
Bruno Borges <[EMAIL PROTECTED]> wrote:
This is the only way I know (better: I learned from Wiki/Docs/Examples) on how to use MaskConverter:TextField zipCode = new TextField("zipCode") {public IConverter getConverter() {};MaskFormatter zipFormat = null;
try {zipFormat = new MaskFormatter("#####-###"); // Brazillian format} catch(Exception e) {} // never throws
return new UncheckedMaskConverter(zipFormat);}
Isn't a better way to to this?
--
Bruno Borges[EMAIL PROTECTED]
Sun Certified Java Programmer for 1.4
Sun Certified Web Component Developer for 1.4
