搜索资源列表
hm6
- 抽象类的使用 设计一个类层次,定义一个抽象类--形状,其中包括有求形状的面积的抽象方法。 ----继承该抽象类定义三角型、矩形、圆。 ----编写一个主程序将一个三角形、矩形、圆存入一个数组中,将数组中各类图形的面积输出。-kind of abstract designs a class hierarchy, the definition of an abstract category -- shape, These include the shape of the area fo
Print_Mesure_GeometricShape
- 此程序可实现:在可视化界面中随即生成一些图形(长方形、椭圆、圆、正方形);程序会自动告诉你所生成的图形的形状并计算这些图形的面积;最后程序会自动统计各个图形的分布。-this procedure can be achieved : the visual interface immediately generated some graphics (rectangular, oval, round, square); the program will automatically tell you g
freedraw
- 一个实用的绘图软件,用鼠标拖出矩形,圆形等几何图形。随着鼠标的拖动,图像可以自适应的变化大小-a practical mapping software with the mouse to leave rectangular, circular, and other geometric shapes. With the scrolling mouse, images can be adaptive to the changes in size
PainterDemo
- 一个画图程序JAVA源代码,生成一个界面可画直线\\椭圆\\矩形-a drawing program in Java source code, an interface can be generated line drawing \\ oval \\ Rectangular
xccc
- 简单定义一个由矩形左上角和右下角两点定义的矩形对象的类。该类包含一个复制矩形的构造函数和一个返回矩形对象的方法,该对象包含当前包含当前对象,并且该矩形作为参数传递该方法,还有一个用于显示该矩形的定义的点的方法。生成4个矩形对这个类进行测试,-simple definition of a rectangle from the upper left and lower right corner 2:00 definition of the rectangular object class. Such
2Dchongtu
- java2D图形冲突检测方法,矩形检测,很好的算法-java2D graphics conflict detection methods, rectangular detection, a good algorithm.
PaintRect
- 这是两个画矩形的小程序、程序主要通过获取鼠标的坐标,和结束的坐标来画出这个矩形,并且在画面上可以保存已画的矩形,设定了可画的个数限定。以此类推,可以作出一个画板来啦-This two small rectangular painting processes, procedures, primarily through the acquisition mouse coordinates, and ending coordinates of the rectangle to paint, and t
EnumExample
- 用java实现的枚举类型和实现长方形的程序!在机子上编绎并且通过!!很实用!-with java realized enumeration type and procedures to achieve a rectangular! On the loom series unravel through! ! Very practical!
TestRectangle
- 用java实现的测试程序,一个是长方形的测试程序!在机子上编绎并通过!-java with the test procedures to achieve, is a rectangular testing procedures. On the loom and through continuous series!
实例72
- 用java编写的画长方形的程序-prepared with the rectangular painting process! !
drawing1
- 这是个画直线,椭圆, 矩形的小程序。-This a painting line, oval, round, rectangular small procedures.
drawing
- 编写求解几何图形(如直线、三角形,矩型,圆,多边型)的周长、面积的应用程序,要求尽可能多的用到面向对象技术的特点,如继承,多态,封装,抽象类,接口,内部类,包等技术。写出算法。-prepared to solve geometric shapes (such as linear, triangular, rectangular, round, the multilateral type) of the perimeter, the area of application procedures,
java作业3(画图)
- 这是一用JAVA画三角形,棱型,矩形的程序-This is a painted triangle with Java, Prism type, rectangular procedures
分别定义图形类Shape(抽象基类)
- 分别定义图形类Shape(抽象基类),继承类矩形类Rectangle、正方形类Square、 圆形类Circle;并且计算周长和面积。在另一个main函数中分别创建矩形、 正方形和圆形对象,设置所需的属性值,打印其周长和面积。(备注:只要把该文件解压,把里面的东东COPY去即可使用)-Graphics categories are defined Shape (abstract base class), the succession of quasi-rectangular type R
java
- java课程中,使用接口实现对圆和矩形的周长及面积的计算-java course, using the interface on the calculation of the perimeter and area of circular and rectangular
FIRFilterDesign
- 用Java 写的FIRFilter Design Applet,矩形窗,汉宁窗,哈明窗,布拉克曼窗-Use Java to write the FIRFilter Design Applet, rectangular window, Hanning window, Hamming window, Blackman window
java实现的画图板
- java实现的画图板,可以实现画直线、圆形、矩形,以及色彩的变换-java implementation drawing board, draw a straight line can be achieved, round, rectangular, and the color transformation, etc.
123
- 用java实现电工上的矩形波合成演示,可以清楚的看到合成的变化过程。-Using java to achieve the rectangular electrical wave synthetic presentation, you can clearly see the synthetic process of change.
Chat
- 贪吃蛇游戏,游戏中移动的长方形代表蛇,随机出现的原点为蛇追逐的目标,当蛇通过上下左右键控制吃到原点,会出现另一个原点,游戏继续。当蛇遇到四周墙壁时游戏结束。每吃一个点游戏加一分,同时长方形会增长,逐渐垒加。-Snake games, mobile games on behalf of the rectangular snakes, random starting point for pursuing the objectives of the snake, when the snake thro
drawsingle
- 画图程序中可以通过鼠标的拖拽画出三种简单的图形形式:直线、椭圆和矩形。-Paint program can drag the mouse to draw a simple graph of three forms: a straight line, oval and rectangular.