[Solution found!] 您应该使线程支持中断。基本上,您可以调用yourThread.interrupt()停止线程,并在run()方法中需要定期检查线程的状态。Thread.interrupted() 这是 ...
確定! 回上一頁