code: private void initialize()
     {
        m_frame = new JFrame();
        m_frame.setBounds(100, 100, 900, 451);
        m_frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        m_frame.getContentPane().setLayout(new GridLayout(1, 0, 0, 0));
  
        final FileChooserModel fileChooserModel = new FileChooserModel();
        final FileChooserController fileChooserController = new FileChooserController(fileChooserModel);
        @SuppressWarnings("unused")
        FileChooserView fileChooserView = new FileChooserView(m_frame, fileChooserModel);
        fileChooserModel.setExtensions("mpp");
  
        JMenuBar menuBar = new JMenuBar();
        m_frame.setJMenuBar(menuBar);
  
        JMenu mnFile = new JMenu("File");
        menuBar.add(mnFile);
  
        JMenuItem mntmOpen = new JMenuItem("Open");
        mnFile.add(mntmOpen);
  
        //
        // Open file
        //
        mntmOpen.addActionListener(new ActionListener()
        {
           @Override public void actionPerformed(ActionEvent e)
           {
              fileChooserController.openFileChooser();
           }
        });
  
        final JTabbedPane tabbedPane = new JTabbedPane(SwingConstants.TOP);
        m_frame.getContentPane().add(tabbedPane);
  
        PropertyAdapter<FileChooserModel> adapter = new PropertyAdapter<FileChooserModel>(fileChooserModel, "file", true);
        adapter.addValueChangeListener(new PropertyChangeListener()
        {
           @Override public void propertyChange(PropertyChangeEvent evt)
           {
              File file = fileChooserModel.getFile();
              tabbedPane.add(file.getName(), new MppFilePanel(file));
           }
        });
     }
docs: Initialize the contents of the frame.