On 3 April 2012 10:57, Deepak Singh <[email protected]> wrote: > I have wrapped a div into Label. Added clickhandler to label.
Why? If you want to use a container, then I would suggest SimplePanel or FlowPanel. I would keep Labels for displaying simple text. > Now i want that at some point of time, this label should be autoclicked but > we dont have anything like click() method for label as we have for > button.click(). Why not simply call the corresponding onClick (or what ever you called it) method directly? GWT doesn't really support programmatically creating browser events. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
