This is a cut down program that randomly draws 50 * around the screen and makes them move around. The code does what I want but if anybody has any suggestions on how the code could be structured better it would be much appreciated. As in when I improve on the program and want to get the objects to interact with each other should i put the code for that in the paintMethod().
posted 8 years ago
Things work better if you separate your drawing code from your event code.