Working on getting the BorderLayout linked to the corresponding scala