Results 1 to 3 of 3

Thread: Asap: How The Fvck Do You Use Repaint?!?

  1. #1

    Thread Starter
    Hyperactive Member CaptainPinko's Avatar
    Join Date
    Jan 2001
    Location
    London, Ontario, Canada
    Posts
    332

    Exclamation Asap: How The Fvck Do You Use Repaint?!?

    please, i'm desperate, i need this for tomorrow!
    i need a way to allow a thread to continue to paint onto a canvas without putting an infite loop in the paint (Graphics) method.

    <the problem w/ the infinite loop is that it won't allow the MouseMoved event to fire>
    "There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein

    If you are programming in Java use www.NetBeans.org

  2. #2
    Fanatic Member
    Join Date
    Apr 2001
    Posts
    843
    use.... multi-threads!.....
    "The difference between mad and genius is the success"

  3. #3

    Thread Starter
    Hyperactive Member CaptainPinko's Avatar
    Join Date
    Jan 2001
    Location
    London, Ontario, Canada
    Posts
    332
    <shakes head> that won't work, as soon as a thread is launch the method (paint (Graphincs) in this case) continues on. as soon as the paint method terminates, any changes made to the Graphics object (by being passed to a thread that does stuff for example) will not appear, so i need to fire out how the fvck to use repaint, and hence this thread
    "There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein

    If you are programming in Java use www.NetBeans.org

Posting Permissions

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



Click Here to Expand Forum to Full Width