AppleJuiceClient.getAjFassade().pauseDownload(toPause);
    public void fireContentChanged(DATALISTENER_TYPE type, Object content) {        try {            if (type == DATALISTENER_TYPE.INFORMATION_CHANGED) {                lastInformation = (Information) content;                if (!pwdlPolicies.isEnabled() && autoPwdlThread != null &&                    lastInformation != null) {                    long eingegebenBis = Integer.parseInt(autoBis.getText()) *                        1048576l;                    long eingegebenAb = Integer.parseInt(autoAb.getText()) *                        1048576l;                    if (lastInformation.getCredits() > eingegebenAb &&                        autoPwdlThread.isPaused()) {                        autoPwdlThread.setPaused(false);                    }                    else if (lastInformation.getCredits() < eingegebenBis &&                             !autoPwdlThread.isPaused()) {                        autoPwdlThread.setPaused(true);                    }                }            }            else if (type == DATALISTENER_TYPE.DOWNLOAD_CHANGED &&                     autoPwdlThread != null &&                     !pwdlPolicies.isEnabled() && autoPwdlThread.isPaused()) {                if (autoPwdlThread.shouldPause()){                    HashMap<String, Download> downloads = (HashMap) content;                    synchronized (downloads) {                        List<Download> toPause = new Vector<Download>();                        for (Download curDownload : downloads.values()) {                            if (curDownload.getStatus() ==                                Download.SUCHEN_LADEN) {                            	toPause.add(curDownload);                            }                        }                    	AppleJuiceClient.getAjFassade().pauseDownload(toPause);                    }                }            }        }        catch (Exception e) {            logger.error(ApplejuiceFassade.ERROR_MESSAGE, e);        }    }