Animating Separate Objects
问题 I've been working on an "elevator simulator" where I have to animate "elevators". I was able to create different elevator objects, which I did by having each Elevator Object have the parameters of width, height, and coordinates. I then stored them all into an array and used a for loop to draw them into my frame using JPanel's PaintComponent method. Can you guys suggest a way or give me advice to animate them separately from each other, like say move them up and down independently? I was able