private void Init(){
	
	
	this.setLayout(null);
	skladnikiCombo = new SkladnikiComboBox() {
		public void Action(){
			pos.add(   ((Skladnik) skladnikiCombo.getSelectedItem()).id, DEFAULT_WEIGHT);
			BazaObject.saveLog.addUpdatePosilek(  pos.id  );
			HIDE_FLAG=true;
			BudujTabele();
		}
	};
	
	pola = new JTextField[ILOSC_POL];
	DeleteAction = new MouseDeleteAction[Posilek.ILOSC_SKLADNIKOW];
	for (int i =0 ; i<ILOSC_POL ; i++)
	pola[i]=new JTextField();
	for (int i =0 ; i<ILOSC_POL ; i++)
		{
			if(  i%5 ==0){
				pola[i].setEditable(false);
			}
			if( i%5 ==0)
			{	
				DeleteAction[i/5]= new MouseDeleteAction();
				pola[i].addMouseListener(DeleteAction[i/5]); 
				pola[i].setEditable(false);
			}
			else if( i%5==1)
			{	
				pola[i]=new WeightTextField() {
				public void change(){
					try{
						if(getText().trim().length() > 0 & flaga==1){
						pos.waga[ktory]  =  Integer.parseInt(this.getText());
						pos.upDate();
						BazaObject.saveLog.addUpdatePosilek(pos.id);
						UpdateMacroSkladnika(ktory);
						
						}
					}
				catch(NumberFormatException e){
					JOptionPane.showMessageDialog(null, "Nie zjesz tyle :(","Nie ladnie....",JOptionPane.ERROR_MESSAGE);
					}
				
				}
				};
				pola[i].setEditable(true);
			}
			else 
				{
				pola[i].setEditable(false);
				}
				
		}
	for(int j=0 ; j<ILOSC_POL ; j++ )
		this.add(pola[j]);
	Opis();
	poleM1=new JTextField();poleM2=new JTextField();poleM3=new JTextField();
	poleM5=new JTextField();poleM4=new JTextField();
	
	
	skladnikiCombo.SkladnikiComboInit();
	this.add(poleM1);this.add(poleM2);this.add(poleM3);this.add(poleM4);this.add(poleM5);
	this.add(pole2);
	this.add(pole1);
	this.add(pole3);
	this.add(pole4);
	this.add(pole5);
	this.add(skladnikiCombo);
	flaga=1;
}