salut
moi j'ai un probleme lors de l'exécution de mon application (sous jbuilder9), j'utilise des threads et pdt l'éxécution j'ai une exception qui est affiché

java.lang.IllegalMonitorStateException: current thread not owner
at java.lang.Object.notify(Native Method)

malgrés que j'ai utilisé la methode synchronized
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
synchronized (this){
try {this.wait();}
catch (InterruptedException ex4){}
}
synchronized (this){
try {this.notify();}
catch (InterruptedException ex4){}
}
merci d'avance pour votre aide