Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Applets and the fly likes Doubt In the applet event code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Doubt In the applet event code" Watch "Doubt In the applet event code" New topic

Doubt In the applet event code

kethare eswaran

Joined: Jul 10, 2006
Posts: 8

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

Joined: Mar 22, 2005
Posts: 42958
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.
I agree. Here's the link:
subject: Doubt In the applet event code
It's not a secret anymore!