Help with reCaptcha add-on

I had a stab at writing a
add-on, but I can’t quite get it to work.

I tried to set it up like a read-only text field, but my paintContent() and updateFromUIDL() aren’t quite right. Can anyone with a little more experience offer some help. I think it would make for a useful addition to Vaadin.