BoxLayout: Remove deprecated pack() method.