-
3. A Shape interface design, interfaces include : Draw and Resize. Some specific...
3. 设计一个接口Shape,接口中包含方法:Draw和Resize。定义一些具体类,如:Point、Line、Circle、Rectangle等,每个类都实现接口Shape。Draw方法绘制图形,Resize方法改变图形大小。用Java实现这些接口和类,并用测试类测试它们。 注意:不需要真正绘制图形,如Line的Draw方法只需输出下面文本即可: “直线的起点是(x1,y1,),终点是(x2,y2)”-3. A Shape interface design, interfaces include : Draw and Resize. Some specific type definition, such as : Point, Line, Circle, Rectangle, each category are achieving Shape interface. Draw method of drawing, graphics Resize changed size. Using Java to achieve these interfaces and class, and use tests such testing. Note : no real drawing, such as the Draw Line method, only the following text can be output : "line is the starting point (x1, y1), and the ultimate goal is to (x2, y2)"
- 2022-01-25 15:17:52下载
- 积分:1
-
based GDI graphics examples
图形基础 GDI 的例子-based GDI graphics examples
- 2022-03-21 12:38:50下载
- 积分:1
-
java 实现的显示几个菜单的源程序
java 实现的显示几个菜单的源程序-achieve the menu shows several of the source
- 2022-07-17 10:02:41下载
- 积分:1
-
Java call fempeg convert video to flv, As fempeg online on their own under the
Java调用fempeg转换视频为flv,至于fempeg就自己到网上下了-Java call fempeg convert video to flv, As fempeg online on their own under the
- 2022-03-02 15:40:22下载
- 积分:1
-
用jdom解析xml , 需要用到jar包jdom.jar
用jdom解析xml , 需要用到jar包jdom.jar-Xml parsing using jdom
- 2023-07-23 19:30:03下载
- 积分:1
-
动态树型菜单列表,通过xml,xloadtree111.zip
动态树型菜单列表,通过xml,xloadtree111.zip-dynamic tree menu list, xml, xloadtree111.zip
- 2023-07-24 17:40:02下载
- 积分:1
-
可以话空心和实心的巨星,圆以及画板应该有的工能都有,还有调色板可以设置画板的前后背景色。...
可以话空心和实心的巨星,圆以及画板应该有的工能都有,还有调色板可以设置画板的前后背景色。-err
- 2022-03-15 07:17:08下载
- 积分:1
-
url的信息例子
url的信息例子-url examples of information
- 2022-01-26 03:19:04下载
- 积分:1
-
一个用Java实现的打印程序示例,可以打印文本框里的文字,或整个显示框架,还可以打印预览,都是Java实现,运行命令java...
一个用Java实现的打印程序示例,可以打印文本框里的文字,或整个显示框架,还可以打印预览,都是Java实现,运行命令java -jar print.jar。源文件都在包里。- The printing procedure demonstration which realizes with Java,
may print in the text frame the writing, or entire demonstration
frame, but also may print looks at in advance, all is the Java
realization, the movement orders java-jar print.jar. Source document
all in Bao Li.
- 2023-08-19 06:30:03下载
- 积分:1
-
JAMPACK Grid programming
JAMPACK Grid programming
- 2023-03-14 00:00:04下载
- 积分:1