Java Layout Vertical Alignment Math Example