I have just learned to use arraylist so be nice :P .
I wonder how i can put a few objects (like a circle
or a square
) into the arraylist
and draw them out on a jpanel
so all of them stay. I know how to draw one thing but i'm trying to make a game and would like to have multiple things drawn at the same time.
All answers appreciated!