This should be simple, but somehow I can't find a way to create simple hyperlink in GWT. Basically, I want to load another page when users clicks on something.
Hyperlink seems to point to internal GWT application state only. I guess I could put the link in HTML code itself, but how do I create it in Java?
Anchor
this.add(new Anchor("www.stackoverflow.com"));
You're looking for Anchor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With