I need to do the Scroll the text contained label. I don’t know how to do this.
Please give any suggestion to do this? or any other easy way to do this?
My code is bellow :
[code]
String incomingUpdates =“Simple Marquee text”;
Label notification_lbl = new Label();
notification_lbl.setValue(" New arrivals : "+incomingUpdates);
HorizontalLayout notification_hl = new HorizontalLayout();
notification_hl.addComponent(notification_lbl);
[/code]Thanks in Advance…!
The <marquee> element is obsolete and must not be used.
While some browsers still support it, it's not required.
In addition, using this element is basically one of the
worst things you can do to your users, so please, please don't do it.