• Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt In the applet event code

 
kethare eswaran
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

the above coding is used for scrolling but i want to scroll from Right end to left end as in HTML <Marquee>

Plese help me to do using that in applet

[ UD: removed email address and added CODE tags ]
[ July 19, 2006: Message edited by: Ulf Dittmer ]
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of messing with the contents of the message, why don't you draw it in different locations, i.e. start drawing at an x position of 300, and decrement the x coordinate by 5 in every iteration.
 
PI day is 3.14 (march 14th) and is also einstein's birthday. And this is merely a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!