Refactored UnitsGroupLayout.java.