@Override
			public void actionPerformed(ActionEvent arg0) {
				loadDialog(); //open file loader 
				if(file==null)//if user did not enter any file name warn him
					JOptionPane.showMessageDialog(null,"You need to write file name");
				else{
					paint_panel.setBuf_image(control.loadImage(file));
					paint_panel.repaint();  //refresh canvas 
				}
			}