private void registerNewMovie() {
		boolean validTF = false;
		boolean validPath = false;
		
		String name = view.getMovieRegistrationName().getText().trim();
		String genre = view.getMovieRegistrationGenre().getText().trim();
		String director = view.getMovieRegistrationDirector().getText().trim();
		String releaseDate = view.getMovieRegistrationReleaseDate().getText().trim();
		
		
		int rating = (Integer)view.getMovieRatingSpinner().getValue();
		System.out.println();
		
		if(name.isEmpty()||genre.isEmpty()||director.isEmpty()||releaseDate.isEmpty()){
			validTF = false;
		}else{
			validTF = true;
		}
		
		if(archivo == null){
			validPath = false;
		}else{
			validPath = true;
		String imgPath = archivo;
		CopiarArchivo.getInstance().copiar(imgPath, ".\\src\\image\\" + "#Movie" +name + director+".png");
		}
		
		if(validTF&&validPath){
			Pelicula movie = new Pelicula(name, ".\\src\\image\\" + "#Movie" +name + director+".png", rating,
					genre,director,releaseDate);
			
			model.addBelonging(movie);
			ShowDialog("New movie registered: " + name);
			
			view.getStartPnl().setVisible(true); 
			view.getMovieRegistrationPnl().setVisible(false);
			
			///clean
			archivo = null;
			view.getMovieRegistrationName().setText("");
			view.getMovieRegistrationGenre().setText("");
			view.getMovieRegistrationDirector().setText("");
			view.getMovieRegistrationReleaseDate().setText("");
			
			view.getMovieRatingSpinner().setValue(0);
			view.getMovieImagelbl().setIcon(new ImageIcon(View.class.getResource("/image/default_image.png")));
		}else{
			if(!validTF){
				ShowDialog("Incomplete data");
				
			}
			else if(!validPath){
				ShowDialog("You must choose an image file first");
				
			}
			
		}
		
		updateStartPanelPanes();
		updateStartPanelLabels();
		//move to start panel
		/*
		view.getStartPnl().setVisible(true); 
		view.getMovieRegistrationPnl().setVisible(false);
		*/
	}