MainFrame is gridlayout and MainFrame_1 is new gridbaglayout