Setting converter pattern in java

I am using a DoubleConverter in my backing bean as part of a dynamically created page as follows:

HtmlInputText htmlAmount =new HtmlInputText();

...

Converter converter =new DoubleConverter();

htmlAmount.setConverter(converter);

...

I need to set the pattern for this converter. How do I do this? There is no setPattern or applyPattern method on the DoubleConverter.

Thanks in advance.

[502 byte] By [Jam1ea] at [2007-11-26 21:42:08]
# 1
Resolved. I have used numberconverter and then manually converted any longs to decimal if no decimal places are entered.
Jam1ea at 2007-7-10 3:28:00 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...