namespace
Tribute
- Joined
- Feb 20, 2016
- Messages
- 23
- Reaction score
- 10
Also, if you're actually thinking of developing this further you really should take into account that Java is Object-Oriented. So you should be using objects.That's exactly the question I have. mb it's something with my pc or something but it always says "This variable might not have been initialized. Might re-download it or download another one/update JDK, because I can do it at school but not on my pc for some reason. I'll also what you said in number 2, I know know what you're getting at.
Using arrays will make it easier for other people to help me with my code and while I do plan to use loops I only know now for a fact that this will 100% work with my end product. While a loop very well may work, I just don't want to run into some stupid reason why I can't make what I want to work. Sounds weird but I'd have to write a whole bunch on why. Towards the end if it all goes correctly I'll replace all of my paintComponent method with a loop and also thanks for the help, really do appreciate it
Iteration is a basic principle in most languages, don't be scared of it.