Results 1 to 3 of 3
Thread: [SOLVED] HELP! Thread Problem
- 02-07-2008, 12:29 AM #1
Member
- Join Date
- Aug 2007
- Posts
- 13
- Rep Power
- 0
[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
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.incompatitble types, required: Java.lang.Thread
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
- 02-07-2008, 12:58 AM #2
Member
- Join Date
- Aug 2007
- Posts
- 13
- Rep Power
- 0
This is now resolved.
- 05-24-2008, 04:56 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
If your question is solved, please mark it solved. People are confused if it is not pal. Much easy to all of us.
Similar Threads
-
Animation Delay - Thread problem
By wererabit in forum Advanced JavaReplies: 3Last Post: 04-10-2009, 10:35 PM -
data from the main/GUI thread to another runnin thread...
By cornercuttin in forum Threads and SynchronizationReplies: 2Last Post: 04-23-2008, 10:30 PM -
Problem using thread +rmi in my homework
By IbrahimAbbas in forum Threads and SynchronizationReplies: 10Last Post: 04-14-2008, 09:24 PM -
If JNI thread call the java object in another thread, it will crash.
By skaterxu in forum Advanced JavaReplies: 0Last Post: 01-28-2008, 07:02 AM


LinkBack URL
About LinkBacks

Bookmarks