|
-
Jan 23rd, 2002, 11:15 AM
#1
Thread Starter
Hyperactive Member
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
-
Jan 24th, 2002, 05:42 PM
#2
Fanatic Member
use.... multi-threads!.....
"The difference between mad and genius is the success"
-
Jan 27th, 2002, 01:42 PM
#3
Thread Starter
Hyperactive Member
<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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|