313233343536373839
public MainFrame(Main frm) throws Exception { parent = frm; buildMenuBar(); parent.setPageName(Page_001); MainPage mainPage = new MainPage(); mainPage.buildPage(parent); getContentPane().add(mainPage, BorderLayout.CENTER); }