This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
geekykid2013
wrote ...
2013/6/7
Compile error - help
1
2
danpost
2013/6/7
#
Your variable is not called 'CountdownTimer', it is 'countdownTimer'. Java is case-sensitive.
geekykid2013
2013/6/7
#
I'm still receiving the same error - danpost
Winstrol
2013/6/7
#
Delete your code and you wont receive any error
danpost
2013/6/7
#
If you are getting this error in a class other than the SquareWorld class, you need to refer to it as 'SquareWorld.countdownTimer'
geekykid2013
2013/6/7
#
Winstrol - DO NOT POST ANY FURTHER MESSAGES TO GEEKYKID123!
geekykid2013
2013/6/7
#
But I am not receiving this error in a class other than SquareWorld class? So in the class SquareWorld its okay to refer to it as countdownTimer?
danpost
2013/6/7
#
That would be ok. You were probably getting the error on line 29; where you call it 'countDownTimer', instead of 'countdownTimer'.
You need to login to post a reply.
1
2
X