fix for java 8 (VerticalBagLayout is no more)