i have an array which fills with objects in my code after i press a certain button in my GUI
I have another button which when i press should remove all of these objects from the array. however i cannot find a way to do this.

can anyone help me with this?(ask if you need to see any of my code)

NOTE: can someone please look into my GUI problem in the java forum, ive fixed the first problem myself and need people to look at the second post.