final String fMessage=message;
Thread fullReaderer = new Thread() {
public void run() {
LinearThread linearizedBackgroundReaderer = (LinearThread) decode_pdf.getJPedalObject(PdfDictionary.LinearizedReader);
while(linearizedBackgroundReaderer!=null && linearizedBackgroundReaderer.isAlive()){
try {
Thread.sleep(1000);
//System.out.println(".");
} catch (InterruptedException e) {
e.printStackTrace();
}
currentGUI.setDownloadProgress(fMessage,linearizedBackgroundReaderer.getPercentageLoaded());
}
currentGUI.setDownloadProgress(fMessage, 100);