文件名称:AnalogFan
-
所属分类:
- 标签属性:
- 上传时间:2013-08-24
-
文件大小:13.03kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
版本2:满分 15 分
修改版本 1 中Fan 类,让其继承 JPanel 类,并且把 color属性设置为 Color类型,默认
属性为 red。随机产生 radius ,取值范围为 1-5;随机产生颜色,取值范围为 red、blue 、yellow 、
green、orange ;根据 color、radius 属性值绘制风扇。运行如下图:
版本3:满分 20 分
让版本 2 中的风扇转起来。创建一个 FanControl 类包含以下内容:Start 、Stop 、Reverse
按钮,用于开启、关闭、反转控制;一个滚动条控制速度。运行示例如下:-Version 2: 15 points out of a modified version of a class in the Fan, let inherits JPanel class, and the color attribute is set to Color type, default attribute is red. Randomly generated radius, in the range of 1-5 randomly generated color range red, blue, yellow, green, orange according to color, radius attribute values plotted fan. Run the following diagram: Version 3: Version 2 out of 20 points for the fans turn up. Create a FanControl class contains the following: Start, Stop, Reverse buttons for opening, closing and reverse control a scroll bar control speed. To run the sample as follows:
修改版本 1 中Fan 类,让其继承 JPanel 类,并且把 color属性设置为 Color类型,默认
属性为 red。随机产生 radius ,取值范围为 1-5;随机产生颜色,取值范围为 red、blue 、yellow 、
green、orange ;根据 color、radius 属性值绘制风扇。运行如下图:
版本3:满分 20 分
让版本 2 中的风扇转起来。创建一个 FanControl 类包含以下内容:Start 、Stop 、Reverse
按钮,用于开启、关闭、反转控制;一个滚动条控制速度。运行示例如下:-Version 2: 15 points out of a modified version of a class in the Fan, let inherits JPanel class, and the color attribute is set to Color type, default attribute is red. Randomly generated radius, in the range of 1-5 randomly generated color range red, blue, yellow, green, orange according to color, radius attribute values plotted fan. Run the following diagram: Version 3: Version 2 out of 20 points for the fans turn up. Create a FanControl class contains the following: Start, Stop, Reverse buttons for opening, closing and reverse control a scroll bar control speed. To run the sample as follows:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AnalogFan/.classpath
AnalogFan/.project
AnalogFan/.settings/org.eclipse.jdt.core.prefs
AnalogFan/.settings/org.eclipse.jdt.ui.prefs
AnalogFan/bin/Fan.class
AnalogFan/bin/Fan1.class
AnalogFan/bin/FanControl$1.class
AnalogFan/bin/FanControl$2.class
AnalogFan/bin/FanControl$3.class
AnalogFan/bin/FanControl$4.class
AnalogFan/bin/FanControl.class
AnalogFan/bin/java.policy.applet
AnalogFan/bin/Test1.class
AnalogFan/bin/Test2.class
AnalogFan/src/Fan.java
AnalogFan/src/Fan1.java
AnalogFan/src/FanControl.java
AnalogFan/src/Test1.java
AnalogFan/src/Test2.java
AnalogFan/.settings
AnalogFan/bin
AnalogFan/src
AnalogFan
AnalogFan/.project
AnalogFan/.settings/org.eclipse.jdt.core.prefs
AnalogFan/.settings/org.eclipse.jdt.ui.prefs
AnalogFan/bin/Fan.class
AnalogFan/bin/Fan1.class
AnalogFan/bin/FanControl$1.class
AnalogFan/bin/FanControl$2.class
AnalogFan/bin/FanControl$3.class
AnalogFan/bin/FanControl$4.class
AnalogFan/bin/FanControl.class
AnalogFan/bin/java.policy.applet
AnalogFan/bin/Test1.class
AnalogFan/bin/Test2.class
AnalogFan/src/Fan.java
AnalogFan/src/Fan1.java
AnalogFan/src/FanControl.java
AnalogFan/src/Test1.java
AnalogFan/src/Test2.java
AnalogFan/.settings
AnalogFan/bin
AnalogFan/src
AnalogFan
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.