or you could do something like this:
public void stop()
{
thread = null;
stop = true;
}
as in, set your thread to null and your stop flag to true... just to double make sure...
Type: Posts; User: relion65
or you could do something like this:
public void stop()
{
thread = null;
stop = true;
}
as in, set your thread to null and your stop flag to true... just to double make sure...
oh, thats not the problem... thats just event handling... that works fine... but somehow the transferrance of the number of where the player needs to restart, is not getting sent back to the main...
im not comparing strings... im getting an int... i probably shoulda said this earlier, but everything of interest is under the mp class...
well, ive come across another problem. I was getting tired of all these stupid media players that are out right now... WMP has glitches, and will add your music twice to the library, and the way i...
well, i have one, taken care of that memory problem, at least with the "logs", by clearing each string out before it returns the data... but just to resolve any discrepancies... im posting the full...
wait, im using a regular Thread... the one in java.lang... and if you all have four workers running, you have only five threads running: one for each worker and then the updater thread... im not...
hi, ive been creating a web crawler. it works just great, gets urls and image links, but im having a
typical thread problem. you can have up to four crawlers running at once within my app, but what...
My name is Sean Panting. Ive been programming in Java for the past two years now. i am 16 years old, and im current working on a Open Source JVM-based Widget Engine called Jadet, which is hosted on...