public void actionPerformed(ActionEvent e) {
            System.out.print("click");
                String[] params = loginView.getLoginParams();
                startupModel.Login(params);
                Boolean result = startupModel.getLoginResult();
                if(!result){
                    loginView.setResult(result);
                }else{

//                    StatusPanelView statuspanel;
//                    statuspanel = new StatusPanelView();
//                    StatusModel statusmodel = new StatusModel("139.179.139.112");
//                    StatusController c = new StatusController(statusmodel, statuspanel);
//                    c.initializeDB();
//
//                    StockModel model = new StockModel();
//                    MainFrame frame = new MainFrame();
//                    StockView frame1 = new StockView(model,statuspanel);
//                    StockController s_controller = new StockController(model,frame);

//                    loginView.setVisible(false);
//                    frame.setVisible(true);
//
                    Main.closeLogin();
                    frame = new MainFrame();
                    frame.setContentPane(new MainFrame().getMainFrameContainerPanel());
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    frame.pack();

                    frame.setVisible(true);
                   // StoreController storeController=new StoreController(new com.ada.sme.view.LeftMenuView(),frame);


                }

        }