I have created a form in a midlet and in the constructor of the Form I do this
timeObject = new Date(1, 0, 1, 0, 45, 0);
But when I try to compile it I get an error message in WTK saying "cannot resolve symbol" with the arrow pointing towards new.
I have imported
import java.util.Date;
I have also declared
private Date timeObject;
What is wrong?? Why isn't this working?? Please anybody help !!
timeObject = new Date(1, 0, 1, 0, 45, 0);
But when I try to compile it I get an error message in WTK saying "cannot resolve symbol" with the arrow pointing towards new.
I have imported
import java.util.Date;
I have also declared
private Date timeObject;
What is wrong?? Why isn't this working?? Please anybody help !!