As maneesh said, you can use a decorated panel for it.
Now for the implementation,
you can either use a gif rounded corner (wont be smooth)
or a png rounded corder (smooth)
I prefer to use the GWT's ImageBundle class to do so, it combines all corners into a single image so that its loaded only once by the browser.
the menu in Inf Explorer in my site was done in the same manner.
Thank you for your replay. maneesh and salvin.
DecoratorPanel is good.
but as salvin said how can i use GWT's ImageBundle class to combines all corners into a single image? and how to apply that image on your widget? can anyone give hint or sample code?
i am new to GWT.
i want to apply round corners to buttons, textboxes, popup panels etc.
Simple. the 4 corners are in your image bundle so you can convert them into an image widget ...
The DecoratorPanel allows you to set the widgets for the corners so you can use those images @ corners...
next you have to figure out what is to be done for the sides...