title: Is it safe to use for loop in paintComponent?
body: <p>I have for loop in my paintComponent that draws the images, and my problem is example a 2d array, each column has their x, y, image, etc, but if I wanna remove one of them, it's not erasing the image, is this because it's not safe to use for loop in paintComponent? or maybe I can't just make loop to draw Images??</p>