I was expecting it to tell me there was like one or two errors and that I would be able to just correct those and be on my marry way but this is all just spaghetti to me and it makes very little sense. Also I was there was more we can read about the subject but so little info is given we are stuck just clamming about trying to copy the stuff we see within the code.
package com.codegym.task.task36.task3608;
import com.codegym.task.task36.task3608.controller.Controller;
import com.codegym.task.task36.task3608.model.FakeModel;
import com.codegym.task.task36.task3608.model.MainModel;
import com.codegym.task.task36.task3608.model.Model;
import com.codegym.task.task36.task3608.view.EditUserView;
import com.codegym.task.task36.task3608.view.UsersView;
public class Solution {
public static void main(String[] args) {
Model model = new MainModel();
UsersView usersView = new UsersView();
Controller controller = new Controller();
EditUserView editUserView = new EditUserView();
usersView.setController(controller);
controller.setModel(model);
controller.setUsersView(usersView);
editUserView.setController(controller);
usersView.fireShowAllUsersEvent();
controller.setEditUserView(new EditUserView());
usersView.fireOpenUserEditFormEvent(126);
editUserView.fireUserDeleteEvent(124);
usersView.fireShowDeletedUsersEvent();
}
}