Fixing the Overlap – Intro to Java Programming


What do we really want to do is, have the first picture appear at zero, zero and have the next picture appear a little bit after the last X coordinate of the first one. We could call getMaxX to get that last X coordinate, and then add a small value to it. This way they would be 10 pixels apart.

Leave a Reply

Your email address will not be published. Required fields are marked *