How to create fields automatically on the fly in vaadin 6?

Hi

We can create fields on the fly using FieldGroup in Vaadin 7.
But how can we do the same in vaadin 6.
It should create all components like richtextarea,datefields etc. base on types we send.

Need support on this !

Thanks