Hi guys, here is my problem. How do i get the type of a widget and cast it. I am currently trying something like this but of course it does not work. Any help will be appreciated. Thanks!
for(Widget widget:array) { ((this.getParent().getClass().getName()) widget).someMethod (this); } --~--~---------~--~----~------------~-------~--~----~ 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-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---