Value in Label with XHTML format


i have a question, is it possible to set a Value of a Label with XHTML format???

Let’s say, instead of creating a new Label like this:

Label temporaryLabel = null;

for( int i=0 ; i < 3 ; i++){
temporaryLabel = new Label ( "<br/>Test " + i , Label.XHTML); 

can we do something like this?

Label temporaryLabel = new Label("");
for( int i=0 ; i < 3 ; i++){
temporaryLabel.setValue(" <br/> Test "+i, Label.XHTML);

thank u


it’s working.

Thank you very much.