private JMenu createFillMenu(){
		fill = new JMenu("Fill");
		
		algorithmZatravki = new JCheckBoxMenuItem(new AbstractAction() {
			
			@Override
			public void actionPerformed(ActionEvent arg0) {
				// TODO Auto-generated method stub
				if(algorithmZatravki.isSelected()){
					algorithmZatravki.setSelected(false);
				}
				if(!algorithmZatravki.isSelected()){
					algorithmZatravki.setSelected(true);
				}
				algorithmScan.setSelected(false);
				algorithmBrezenhem.setSelected(false);
				algorithmDDA.setSelected(false);
				algorithmCircle.setSelected(false);
				algorithmParabola.setSelected(false);
				algorithmBeze.setSelected(false);
				algorithmBSpline.setSelected(false);
				
				Coordinates.numberOfAlgorithm = 5;
			}
		});
		algorithmZatravki.setText("Zatravka");		
		
		algorithmScan = new JCheckBoxMenuItem(new AbstractAction() {
			
			@Override
			public void actionPerformed(ActionEvent e) {
				// TODO Auto-generated method stub
				if(algorithmScan.isSelected()){
					algorithmScan.setSelected(false);
				}
				if(!algorithmScan.isSelected()){
					algorithmScan.setSelected(true);
				}
				algorithmZatravki.setSelected(false);
				algorithmBrezenhem.setSelected(false);
				algorithmDDA.setSelected(false);
				algorithmCircle.setSelected(false);
				algorithmParabola.setSelected(false);
				algorithmBeze.setSelected(false);
				algorithmBSpline.setSelected(false);
				
				Coordinates.numberOfAlgorithm = 5;
			}
		});
		algorithmScan.setText("Scanning");
		
		fill.add(algorithmZatravki);
		fill.add(algorithmScan);
		
		return fill;
	}