|
Por favor, tenho uma classe que extende de Canvas e implemanta a interface Runnable. At� a� tudo certo, ent�o eu crio um thread da seguinte forma: Thread thr = new Thread(this); Sendo assim eu implemento o m�todo run() em meu Canvas e pronto t� funcionando... At� que eu tento pausar o thread da seguinte forma: thr.wait(); � voltada a seguinte excess�o: java.lang.IllegalMonitorStateException: current thread not owner Se algu�m pude me ajudar ficarei muito agradecido. ((( ::::::::::: | |--\ | Java | | Ary Junior |______|--/ |
- Re: [java-list] Interface Runnable Ary Junior
- Re: [java-list] Interface Runnable Bruno Copelli
- Re: [java-list] Interface Runnable Mister M
