public Label htmlLabel ( String html ) { Label label = new Label ( ) ; label . setContentMode ( ContentMode . HTML ) ; label . setValue ( html ) ; return label ; }
Creates a new HTML - formatted label with the given content .