文件名称:DrawShapes
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 22kb
- 下载次数:
- 0次
- 提 供 者:
- c*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
In the DrawShapes demo, we alternately create stars and donuts at mouse-click
locations with random sizes inside a MouseListener implementation: To paint our custom component, we iterate through the list of shapes and fill
each one in turn Finally, we use
RadialGradients for each shape, white at their centers and black at the outer
edges. The actual rendering for the shapes takes place in the simple call to
fill(Shape) at the end of the loop.-In the DrawShapes demo, we alternately create stars and donuts at mouse-click
locations with random sizes inside a MouseListener implementation: To paint our custom component, we iterate through the list of shapes and fill
each one in turn Finally, we use
RadialGradients for each shape, white at their centers and black at the outer
edges. The actual rendering for the shapes takes place in the simple call to
fill(Shape) at the end of the loop.
locations with random sizes inside a MouseListener implementation: To paint our custom component, we iterate through the list of shapes and fill
each one in turn Finally, we use
RadialGradients for each shape, white at their centers and black at the outer
edges. The actual rendering for the shapes takes place in the simple call to
fill(Shape) at the end of the loop.-In the DrawShapes demo, we alternately create stars and donuts at mouse-click
locations with random sizes inside a MouseListener implementation: To paint our custom component, we iterate through the list of shapes and fill
each one in turn Finally, we use
RadialGradients for each shape, white at their centers and black at the outer
edges. The actual rendering for the shapes takes place in the simple call to
fill(Shape) at the end of the loop.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DrawShapes\.cvsignore
..........\.DS_Store
..........\build.xml
..........\build
..........\.....\built-jar.properties
..........\.....\classes
..........\.....\.......\DrawShapes$1.class
..........\.....\.......\DrawShapes$ClickReceiver.class
..........\.....\.......\DrawShapes.class
..........\.....\empty
..........\CVS
..........\...\Entries
..........\...\Repository
..........\...\Root
..........\manifest.mf
..........\nbproject
..........\.........\build-impl.xml
..........\.........\CVS
..........\.........\...\Entries
..........\.........\...\Repository
..........\.........\...\Root
..........\.........\genfiles.properties
..........\.........\private
..........\.........\.......\CVS
..........\.........\.......\...\Entries
..........\.........\.......\...\Repository
..........\.........\.......\...\Root
..........\.........\.......\private.properties
..........\.........\.......\private.xml
..........\.........\project.properties
..........\.........\project.xml
..........\src
..........\...\CVS
..........\...\...\Entries
..........\...\...\Repository
..........\...\...\Root
..........\...\DrawShapes.java
..........\test
..........\.DS_Store
..........\build.xml
..........\build
..........\.....\built-jar.properties
..........\.....\classes
..........\.....\.......\DrawShapes$1.class
..........\.....\.......\DrawShapes$ClickReceiver.class
..........\.....\.......\DrawShapes.class
..........\.....\empty
..........\CVS
..........\...\Entries
..........\...\Repository
..........\...\Root
..........\manifest.mf
..........\nbproject
..........\.........\build-impl.xml
..........\.........\CVS
..........\.........\...\Entries
..........\.........\...\Repository
..........\.........\...\Root
..........\.........\genfiles.properties
..........\.........\private
..........\.........\.......\CVS
..........\.........\.......\...\Entries
..........\.........\.......\...\Repository
..........\.........\.......\...\Root
..........\.........\.......\private.properties
..........\.........\.......\private.xml
..........\.........\project.properties
..........\.........\project.xml
..........\src
..........\...\CVS
..........\...\...\Entries
..........\...\...\Repository
..........\...\...\Root
..........\...\DrawShapes.java
..........\test