640641642643644645646647648649650
jsane.negotiateOptions(this); if(showUI){ Semaphore s=new Semaphore(0,true); new SaneAcquirePanel(this,s).display(); s.acquire(); } ProgressMonitor pm=(showPB)?new ProgressMonitor(name):null; setProgressBar(pm); setProgressBar("preparing "+name);