GWT – How to create a HTML Label
Jun 14th, 2010 | By admin | Category: GWTGWT provides a text-type label by default. You can set a text to a label but it is not possible to set a HTML to a Gwt label unless you do few changes.
Label myLabel = new Label();
myLabel.setText("This is my label");
myLabel.setHtml("This<br>is<br>my<br>label"); // compilation error
To achieve this , you can create your own customized label which [...]