Within the framework of the mvc-model, there is an idea consisting of several forms (login and password entry form, main form, several forms displayed before the main one - there are some settings, section "about the program", etc.). So, there are several questions:
- Should I split the controller into several (one for each submission) or make one large, containing links to all submissions?
- Do I need a kernel that will provide a transition from one view to another or specify such methods in the controller?
- If necessary, what functions will the kernel provide, except for how to change the visible? (after all, why disconnect the observers from the form, if it is already invisible)
- actionPerformed (ActionEvent event) is better to do in the view and call from it the controller methods or in the controller itself?
- How in actionPerformed (ActionEvent event) to find out from which view the event came, from which object and which event (pointing the mouse, taking in focus, left-clicking, right-clicking or something else)?