View Single Post
  #1 (permalink)  
Old 02-07-2008, 01:29 AM
nvidia nvidia is offline
Member
 
Join Date: Aug 2007
Posts: 12
nvidia is on a distinguished road
[SOLVED] HELP! Thread Problem
Hi i have defined a class called SimpleThread.java which illustrates the use of a thread outputting a simple message. I have another file for the main class which is supposed to use this new class but everytime i create the first object i get an error message saying
Quote:
incompatitble types, required: Java.lang.Thread
I have attached to package to show you what i have done so far. Please give me some suggestions as to how to solve this.

Another question is what does it mean by when it says Java.lang.Thread? Does it simply mean it requires a thread object to be difined?

Thanks
Attached Files
File Type: zip SimpleThread.zip (9.2 KB, 0 views)
Reply With Quote
Sponsored Links