add(segmentPanelNorth, BorderLayout.NORTH);
    private void initGUI() {        setLayout(new BorderLayout(5, 5));        JPanel segmentPanelNorth = initSegmentPanel();        JPanel routesPanel = initRoutesPanel();        add(segmentPanelNorth, BorderLayout.NORTH);        add(routesPanel, BorderLayout.CENTER);    }