public ParametersWindow(SecondaryWindow window, Operation op) {
		setMinimumSize(new Dimension(300, 120));

		initComponents();
		setTitle(op.getName());
		this.motherWindow = window;

		textFields = new ArrayList<JTextField>();
		combos = new ArrayList<JComboBox<String>>();
		spinners = new ArrayList<JSpinner>();
		checkboxes = new ArrayList<JCheckBox>();

		graphicElements = new ArrayList<Component>();

		initializareErori();
		//Generarea dinamica a campurilor pentru introducerea parametrilor
		generateFields(op); 
	}