public static void loadButtonPanel(JPanel Panel){
        buttonpannel = Panel;
        mainFrame.add(Panel, BorderLayout.WEST);
        Panel.setSize(600, 600);
        mainFrame.invalidate();
        mainFrame.validate();
        mainFrame.repaint();
    }