Symbols between Classes
Hello, I'm trying to use an implementation of the timer and timertask classes. According to the JavaDoc for both classes, my syntax appears to be correct, however I am having significant difficulty resolving this error.
Below is part of the class which is host to the recurring action
public CSVRecord(){
myTimerTask task =new myTimerTask();// points to myTimerTask, which points to CSVRecord method
Timer myTimer =new Timer();
myTimer.scheduleAtFixedRate(new myTimerTask(), 100, 10000);
}
And here is the timerTask class I put together
import java.util.Timer.*;
import java.util.TimerTask.*;
publicclass myTimerTaskextends TimerTask{
publicvoid run(){
CSVRecord record =new CSVRecord();
}
}
I don't think there are any issues there, it looks straight forward...but I thought I should include it in this post just to be safe...
My issues is on the line myTimer.scheduleAtFixedRate(new myTimerTask(), 100, 10000); NetBeans gives me an error flag stating cannot find symbol, where the symbol is method scheduleAtFixedRate(myTimerTask, int, int)...
I'm stumped because after all my syntax -appears- correct...any insight would be appreciated.

