}
jTextField2.setText(saveFolder);
dObjects = new DownloadableObjects[4];
//adding exitListener
PlayDownloaderApp.getApplication().addExitListener(new ExitListener() {
public boolean canExit(EventObject eo) {
if(progressBar.isVisible()){
int out = JOptionPane.showConfirmDialog(mainPanel, "You have still unfinished downloads.\n\nAre you sure you want to quit?");
if(out == 1) return false;