@Override
				       protected void done(){
						
						if(exit==0){
							//If is successful, tell the user, and record it in the log file 
							JOptionPane.showMessageDialog(Download.this,"Finsh");
							
						}
						//If it is failed, show user the message
						else if (exit==1){
							JOptionPane.showMessageDialog(Download.this,"Interrupt");
							cancel.setVisible(false);
							
						}
						
						else if (exit==2){
							JOptionPane.showMessageDialog(Download.this,"Parse error");
							cancel.setVisible(false);
							
						}
						
						else if (exit==3){
							JOptionPane.showMessageDialog(Download.this,"File I/O error");
							cancel.setVisible(false);
							
						}
						
						else if (exit==4){
							JOptionPane.showMessageDialog(Download.this,"Network failure");
							cancel.setVisible(false);
							
						}
						
						else if (exit==5){
							JOptionPane.showMessageDialog(Download.this,"SSL verification failure");
							cancel.setVisible(false);
							
						}
						else if (exit==6){
							JOptionPane.showMessageDialog(Download.this,"Username/password authentication failure");
							cancel.setVisible(false);
							
						}
						
						progressBar.setValue(0);
						txt.setText("");
						
					}