public static void loadPanel(JPanel Panel){
        e = Panel;
        mainFrame.add(Panel, BorderLayout.CENTER);
        mainFrame.invalidate();
        mainFrame.validate();
        mainFrame.repaint();
    }