This site requires JavaScript, please enable it in your browser!
Greenfoot back
programmer274
programmer274 wrote ...

2012/12/6

Help with switching images

1
2
danpost danpost

2012/12/8

#
vonmeth wrote...
Oh might want to change "private int waitCycle;" to "private int waitCycle = 0;" so it is initialized to some value.
All primitive data types (all basic numeric types and boolean) are set by default to zero or false. This is true when it comes to class fields and instance object fields. It is a different story when it comes to local fields within methods which must be initialized before using.
vonmeth vonmeth

2012/12/8

#
All primitive data types (all basic numeric types and boolean) are set by default to zero or false. This is true when it comes to class fields and instance object fields. It is a different story when it comes to local fields within methods which must be initialized before using.
Ah thank you, I did not know that. =)
programmer274 programmer274

2012/12/8

#
OK
programmer274 programmer274

2012/12/8

#
your messaging service never seems to load for me. Its probably my browser. I use firefox btw. I use facebook. If you do just let me know and I will tell you who I am.
danpost danpost

2012/12/8

#
Sometimes it takes a little while to bring in all the UserInfo data. If you wait about 40 seconds after clicking 'Run' and it does not come up, let me know.
programmer274 programmer274

2012/12/8

#
All that happens is I get the java loading symbol and I wait for about a minute and nothing happens.
danpost danpost

2012/12/8

#
Oh! So, you do not even get to see the 'Run' button to press it. Sorry to hear that. What version of Greenfoot are you using?
programmer274 programmer274

2012/12/8

#
2.2.1
danpost danpost

2012/12/8

#
Did you try a different browser, other than firefox?
programmer274 programmer274

2012/12/8

#
yes google chrome
You need to login to post a reply.
1
2