public void checkLogin() { _view.clearTextBox(); getUser(); if (_view.checkLogin((mUser)_user)) { Transactions tr = new Transactions(); UserController controller = new UserController(new UserView(new Transactions()), _user); controller.setCurrentuser(); tr.Show(); _view.formClosed(); } else { } }