Moves debug printout.
@@ -515,6 +515,7 @@ public class Screen extends Component implements Receiver<String> {
final int x = boundingBox.x + super.getPosition().x;
final int y = boundingBox.y + super.getPosition().y;
component.getBoundingBox().setLocation(x, y);
+ System.out.println("Placed at " + boundingBox.x + " " + boundingBox.y);
componentsLock.writeLock().unlock();
@@ -581,7 +582,6 @@ public class Screen extends Component implements Receiver<String> {
final int boundingBoxX = boundingBox.x - super.getPosition().x;
final int boundingBoxY = boundingBox.y - super.getPosition().y;
component.getBoundingBox().setLocation(boundingBoxX, boundingBoxY);
- System.out.println("Placed at " + boundingBox.x + " " + boundingBox.y);
componentsLock.writeLock().unlock();
