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.
GWT doesn't really support programmatically creating browser events.
GWT doesn't really support programmatically creating browser events.
--To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/p9U0rHL7pC8J.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
I wrote "doesn't really", not "doesn't". :-) Still, all this mucking
about in the DOM is very hard to (unit) test. In most cases, creating
these events yourself is an anti-pattern. So possible but not
advisable (in general).