Changed deprecated VBox and HBox by Box.