206.103.12.230 writes:
I want a text to keep moving from left to right
in an applet.How is it possible.The users should not be able to modify it.For example the name of the institution.It
should keep moving in the top of the applet.
Thanks in advance
vidya shankar
194.158.187.242 writes:
Create a Border Panel with a Canvas in the North Area.
Write an infinite while loop. Whithin the loop increase (left-to-right) or decrease (right-to-left) an index. Draw the text at this index, as an X coordinate within the canvas. Reset the index when it reaches the border limit of the screen.
Are you sure that you want the text to move from left-to-right? For Roman script that will mean that the last word will appear first, so your users will have to read backwards.
Henk Jan