title: How to create and paint objects at run-time in Java
body: <p>So my goal here is to have a continuous stream of objects coming from the right side of the frame, and have them disappear/be deleted after they reach the left side of the frame. I will have a ball object/image that will be stationary but seemingly move forward and jump over the rectangle objects I wish to create. I wish to stop the creation of objects after the user 'survives' for a certain period of time. </p>
  
  <p>Basically my question is how can I load my JFrame, and then proceed to paint objects at run-time. Doing so for a certain amount of time, continuously painting and removing objects.</p>