wood burning stoves 2.0*
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

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 42356
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.

Ping & DNS - my free Android networking tools app
I agree. Here's the link: http://aspose.com/file-tools
subject: Doubt In the applet event code