// Create a JPanel to hold the toolbar for the tab
ToolbarView toolbarView = new ToolbarView(boardModel);
// Constructs and adds the MainPanel
MainView mainView = new MainView(boardModel);
// Create a tab model that contains the toolbar panel and the main content panel
JanewayTabModel tab1 = new JanewayTabModel(getName(), new ImageIcon(), toolbarView, mainView);
// Add the tab to the list of tabs owned by this module