文件名称:ball
- 所属分类:
- JSP源码/Java
- 资源属性:
- [WORD]
- 上传时间:
- 2012-11-26
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- y**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这是一个用线程实现的图形动画实例,每当鼠标点击一次“Start”按钮,屏幕上将产生一个随机颜色的小圆球,该圆球将在屏幕上发生碰撞跳动,直到点击“Close”按钮为止。该实例由5个类构成,分别放在以下4个文件中:Ball.java、BallCanvas.java、BallThread.java、Bouncefr a me.java。主类是Bouncefr a me。-This is a thread with examples of the realization of a graphical animation, whenever the mouse to click a Start button, the screen will have a random color of the little round ball, the ball will be a collision on the screen beating until the click Close until button. The example posed by the five categories, namely on the following four documents: Ball.java, BallCanvas.java, BallThread.java, Bouncefr a me.java. The main category is Bouncefr a me.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
多线程实现图形动画实例.doc