Win a copy of The Java Performance Companion this week in the Performance forum!
  • 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: 42968
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic