R
rp
Hello,
I have a frame that when a user presses a button, i read a bunch of
files into a byte array and then push that byte array to a httpd
server.
the loading of the files is its own thread (that way the gui can
update a progess bar and refresh itself.
My question is:
When the loading the files into the byte array is finished, i want the
next thread to fire off and upload the files to the web server.
I can not seem to find the best way to monitor the first thread to
know when it finishes? There is the thread methods like join and wait,
but i want the frame thread to stay runnning
I hope i am making sense.
Thanks for anyhelp
I have a frame that when a user presses a button, i read a bunch of
files into a byte array and then push that byte array to a httpd
server.
the loading of the files is its own thread (that way the gui can
update a progess bar and refresh itself.
My question is:
When the loading the files into the byte array is finished, i want the
next thread to fire off and upload the files to the web server.
I can not seem to find the best way to monitor the first thread to
know when it finishes? There is the thread methods like join and wait,
but i want the frame thread to stay runnning
I hope i am making sense.
Thanks for anyhelp