Results 1 to 2 of 2

Thread: Scroll message

  1. #1
    getkiran is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default Scroll message


    Can anyone help in sendng me the code to move a message across the screen..???? i mean scroll message? from left to right or otherwise?

  2. #2
    Xyle's Avatar
    Xyle is offline Member
    Join Date
    Feb 2009
    Rep Power


    do you keep track of the x position where you draw your text, if so, just increment it each loop by 1 each loop. For vertical scrolling, just increment the y position of the text by 1 each loop. Change the value from 1 to less to slow it down, or increase it to speed it up.

Similar Threads

  1. Replies: 1
    Last Post: 10-13-2008, 12:42 PM
  2. scroll a Jpanel in a JFrame
    By nidhirastogi in forum SWT / JFace
    Replies: 1
    Last Post: 09-07-2008, 03:42 AM
  3. code hint scroll bar ?
    By tryit in forum Eclipse
    Replies: 3
    Last Post: 04-28-2008, 07:07 AM
  4. Scroll thumb on the ScrollPanel
    By SteM in forum AWT / Swing
    Replies: 3
    Last Post: 12-05-2007, 06:35 PM
  5. Jtextarea and scroll
    By ziniestro in forum AWT / Swing
    Replies: 2
    Last Post: 06-01-2007, 03:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts