I just started working with GWT Widgets. I am familiar with jQuery and GWT Query is similar and hence I'm comfortable with it. 

I need to make a custom widget in GWT which encompasses the functionality I made in GQuery.

I know that GWT widgets need to be contained in a panel, but I have an existing element in GQuery. So I guess I need to convert that element to a widget first. How should I go about it ?