Runnable接口的run方法的运行

tcl7819 2002-10-15 12:41:35
run与Applet的五个方法,run是运行在那一个之前,那一个之后
...全文
167 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
QQHelloWorld 2002-10-15
  • 打赏
  • 举报
回复
if you want to run a thread in an applet ,you should put thread.start() in method start() of the applet ,then end this thread
in method stop() of the applet.

(sorry ,my IME is wrong so i must write all in english)
sun1979song 2002-10-15
  • 打赏
  • 举报
回复
呵呵,看来你在做多线程的applet
qilong2000 2002-10-15
  • 打赏
  • 举报
回复
thread.start()
之后run()就可以参加运行了
但是因为run()是多线程方法,没有先后的概念。
littlecong 2002-10-15
  • 打赏
  • 举报
回复
Applet没有实现Runable借口吧

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧