So here it is:
- Code: Select all
Thread cListener = new Thread(this);
java.lang.Thread: is abstract; cannot be instantiated
I thought ok, let's check the lejos api and look up thread, it is an abstract class and has one abstract method run(). I'm using this method
- Code: Select all
public void run()
{
code....
}
and there are no underlying classes for Thread, and i have
- Code: Select all
import java.lang.*;
even tried to specify with
- Code: Select all
import java.lang.Thread
and still the same error message.
I only get this message when compiling with the lejos compiler, if I use netbeans it compiles fine. Please don't give me the tip of compiling with netbeans and send over the files afterwords
Thank you in advance!

