setState(SANE_STATE_OPEN);
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);
try{