public CompleteDownloadView(){
		super();
		this.mangaNameTF = new JTextField();
		this.mangaUrlTF = new JTextField();
		this.pathTF = new JTextField();
		this.pathFC = new JFileChooser();
		this.pathFC.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
		
		this.startBT = new JButton("Start");
		this.stopBT = new JButton("Stop");
		
		this.startBT.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent arg0) {
				String mangaName = mangaNameTF.getText();
				URL mangaUrl = null;
				try {
					mangaUrl = new URL(mangaUrlTF.getText());
				} catch (MalformedURLException e) {
					newPopUp("Incorrect URL");
				}
				
				String path = pathTF.getText();
				path = this.completePath(path);
				if (mangaName.equals("") || path.equals(""))
					newPopUp("Name and Path fields are empty");
				else {
					addBars();
					final MangaDownloader mangaDownloader = new MangaDownloader(mangaName,mangaUrl, path,linuxOS);
					Thread thread = new Thread() { public void run() {mangaDownloader.startDownload(getViewInstance());}};
					setThreadInstance(thread);
					try{
						thread.start();
					} catch (Exception e) {
						newPopUp("Internal Error: " + e.toString());
					}
				}
			}

			private String completePath(String path) {
				String[] linux = path.split("/");
				if (linux.length>1)
					return path+"/";
				linuxOS = false;
				return path+"\\";
			}
		});
		
		this.stopBT.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent e) {
				Thread thread = getThreadInstance();
				if (!Thread.interrupted())
					thread.interrupt();				
			}
		});
		
		JPanel buttons = new JPanel(new FlowLayout(FlowLayout.RIGHT));
		buttons.add(startBT);
		buttons.add(stopBT);
		
		JPanel pathPanel = new JPanel();
		pathPanel.setLayout(new BoxLayout(pathPanel, BoxLayout.LINE_AXIS));
		JButton selectFoldier = new JButton("Select Foldier");
		pathPanel.add(pathTF);
		pathPanel.add(selectFoldier);
		
		selectFoldier.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent arg0) {
				int returnValue = pathFC.showOpenDialog(getParent());
				if (returnValue == JFileChooser.APPROVE_OPTION)
					pathTF.setText(pathFC.getSelectedFile().getAbsolutePath());
				
			}
		});		
		
		this.getContentPane().setLayout(new GridLayout(0,1));
		this.getContentPane().add(new JLabel("Manga download from www.mangaeden.com"));		
		this.getContentPane().add(new JLabel("Insert manga name:"));
		this.getContentPane().add(this.mangaNameTF);
		this.getContentPane().add(new JLabel("Insert manga url:"));
		this.getContentPane().add(this.mangaUrlTF);
		this.getContentPane().add(new JLabel("Insert path manually or click the left button"));
		this.getContentPane().add(pathPanel);
		this.getContentPane().add(new JLabel());
		this.getContentPane().add(buttons);
		
		this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
	}