Se a cambiado la organizacion de las ventanas y se creo la vista de estado resultado junto con su modelo

This commit is contained in:
Daniel Cortes
2019-02-15 19:24:32 -03:00
parent 6388285108
commit ea5bccdaba
21 changed files with 2307 additions and 21 deletions

View File

@@ -12,8 +12,6 @@ import java.awt.*;
public class MainController {
private MainView view;
private CajasController cajasController;
public MainController(MainView view){
this.view = view;
this.setupViewEvents();
@@ -38,6 +36,9 @@ public class MainController {
this.executeView(view.getContentPanel(), "Informes Mensuales", new Dimension(250, 500));
});
this.view.getSalirButton().addActionListener(e -> {
System.exit(0);
});
}
private void executeView(JComponent view, String title, Dimension d){