container.add(scrollPane);
container.add(setScrollPaneSize());
    private void buildGUI(int l)    {        JPanel panel = new JPanel();         panel.add(scrollPane);        Container container = getContentPane();        ReferenceFramePanel rfp = new ReferenceFramePanel("t", "z", "0");        rfp.setBackground(Color.white);        TitlePanel tp = new TitlePanel("ROI selection Assistant", MSG, rfp);        container.setLayout(new BoxLayout(container, BoxLayout.Y_AXIS));        container.add(tp);        container.add(Box.createRigidArea(VBOX));        container.add(scrollPane);        container.add(Box.createRigidArea(VBOX));        container.add(buildMain(l));    }