![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
My comments {} > import java.awt.event.*; > class TwoFunctions {Actually what you could do is have both button code inside a while loop (even a for loop would do) And Initialise the I and J values out side the loop and increase i and decrease j inside the loop. Which will give you the same effect. The better method would be to use threads to do the task > for(int j = 0 ; j<500; j++)
Replies: |
Sponsored Links
|