|
-
Jun 26th, 2005, 08:49 PM
#1
Thread Starter
Fanatic Member
Similar to VB's Doevents...
I have a continuous loop running, that seems to be hindering the loading of my GUI, and will probably hinder some more stuff. Anything in Java similar to VB's Doevents to let other processes catch up?
-
Jun 26th, 2005, 09:05 PM
#2
Dazed Member
Re: Similar to VB's Doevents...
Create a separate process.
-
Jun 27th, 2005, 09:48 AM
#3
Frenzied Member
Re: Similar to VB's Doevents...
You MIGHT be able to create a couple of threads and use the wait() method to allow a selected thread to finish or catch up...Although thread execution is not guranteed, so this might not be such a great idea.
-
Jun 27th, 2005, 11:25 PM
#4
-
Jun 27th, 2005, 11:30 PM
#5
Re: Similar to VB's Doevents...
 Originally Posted by System_Error
You MIGHT be able to create a couple of threads and use the wait() method to allow a selected thread to finish or catch up...Although thread execution is not guranteed, so this might not be such a great idea.
Swing Worker Class is basically a thread ehehe.. I don't want to ge deep into detail 'cause I haven't used it for a very long time.. but in the JAVA Tutorial it's fairly well documented. so I guess that one is safe... u'll just have to get used to it though.
-
Jun 27th, 2005, 11:33 PM
#6
Re: Similar to VB's Doevents...
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
|