Salve a tutti.Ho creato due thread :
Adesso vorrei sapere quando lo stato t1 termina,dato che la sua funzione è la scrittura su file.codice:Thread t = new Thread(pb = new ProgresBar(GraphicInterfaceAgSpit.getInstance(this))); t.start(); Thread t1 = new Thread( agT = new AgSetTIMIT(iform,sfXML.getNameFile(),pb.getProgresBar())); t1.start();
Come devo fare??

Rispondi quotando