package com.company.Controller;

import com.company.View.Gui;

import java.awt.*;


/**
 *
 */
public class Controller {
    private enum Actions {CLOSE_APP};
    private Gui MainWindow; // klasa glownego okna
    /* Wymiary maksymalne okna */
    private int MaxWidth = 300;
    private int MaxHeight = 300;
    /* Wymiary minimalne okna */
    private int MinWidth = 600;
    private int MinHeight = 600;
    //------------------------//
    public Controller()
    {
        Dimension MaxSize = new Dimension(MaxWidth, MaxHeight);
        Dimension MinSize = new Dimension(MinWidth, MinHeight);

        MainWindow = new Gui();
        MainWindow.pack();
        MainWindow.setResizable(false);
        MainWindow.setMinimumSize(MinSize);
        MainWindow.setVisible(true);
        System.exit(0);
    }
    public int getAction()
    {
        return 0;
    }
}

@@ -207,107 +207,8 @@
 kna%0A
-    /* Wymiary maksymalne okna */%0A    private int MaxWidth = 300;%0A    private int MaxHeight = 300;%0A
     
@@ -361,78 +361,71 @@
 er()
-%0A    %7B%0A        Dimension MaxSize = new Dimension(MaxWidth, MaxHeight);
+ // Konstruktor kontrolera tworzacy glowne okno aplikacji%0A    %7B
 %0A   
@@ -485,17 +485,16 @@
 eight);%0A
-%0A
         

Update Controller.java