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