boxes and swing output