• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

scrolling banner in application

 
Shah Vishal
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anybody tell me how to create scrolling banner using application(not Applet)? Or if you know the web site please let me know.
Thanks
Vishal Shah
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Same way as in an Applet... if you are using graphics you would have to use the Toolkit to load them, though...

Basically, all you have to do is to create a Thread that upates the x position of the text or graphics and then sleeps for some short amount of time...

If you are having a problem with a specific part of this, please post an explanation of the exact problem you are having...

-Nate
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic