I am currently working on a portion of a project using Threads and the Observer pattern, but I am running into some trouble with Threads. I am calling the start() method on my Thread but for some reason run() is never being called. According to the API for java.lang.Thread start() is supposed to make the JVM call the run() method. Any help would be great.
[EDIT] This is for a class so please just try to point me in the right direction, no freebies. Thanks
"If the facts don't fit the theory, get new facts" --Albert Einstein
The run() method is not being called for some reason. Even if printQueue were empty my debug statement "IN RUN" would print to the screen.
I placed a debug mark on the run() method and ran my debugger and that portion of the code is never entered.