public void bottomOn(final LObject object) { object.setLocation(getWidth() / 2 - object.getWidth() / 2, getHeight() - object.getHeight()); }
public void rightOn(final LObject object) { object.setLocation(getWidth() - object.getWidth(), getHeight() / 2 - object.getHeight() / 2); }
public void topOn(final LObject object) { object.setLocation(getWidth() / 2 - object.getWidth() / 2, 0); }
public void leftOn(final LObject object) { object.setLocation(0, getHeight() / 2 - object.getHeight() / 2); }
public void centerOn(final LObject object) { object.setLocation( getWidth() / 2 - object.getWidth() / 2, getHeight() / 2 - object.getHeight() / 2); }