On 23 juin, 16:46, Vik <vik....@gmail.com> wrote: > Hie > > seems the code > final Hyperlink adminLink = new Hyperlink(); > adminLink.setText("Admin"); > adminLink.addClickHandler(new ClickHandler() { > public void onClick(ClickEvent event) { > // Instantiate the popup and show it. > loginPopup = new LoginPopup(); > loginPopup.showRelativeTo(adminLink); > loginPopup.show(); > } > }); > > is deprecated. So what is the right way to do the same?
As per the JavaDoc of the deprecated methods: use another widget, probably a Label in this case, with the appropriate styling to make it look like a link if that's what you want. -- 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-tool...@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.