Wow, ok! Thanks to your println statements I now know the problem fully I think, however I don't know how to fix it.
The problem is that whenever I call the method repaint (which I do every time I...
Type: Posts; User: The_Mexican
Wow, ok! Thanks to your println statements I now know the problem fully I think, however I don't know how to fix it.
The problem is that whenever I call the method repaint (which I do every time I...
I may be a beginner but I can say with 99% certainty that the problem has nothing to do with variables resetting themselves or variables at all. My problem is that, referring to the example:
...
By "reverts back" I mean that the green lines which are drawn at the beginning are drawn again, after the if statement completes. Which is strange because the if statement is clearing the screen and...
Ok, so my "disappearing grass" problem was solved but now I've developed the program more and have run into another problem :mad:. For some reason when a certain if statement is completed, the...