-
MiniCAD
在这个项目中,你应该使用Java GUI实现一个简单的绘图板。
为了得到满分,你应该落实:
画线,圆,矩形,文字
改变目标的颜色
改变的目标的位置
改变的目标的大小
图像保存为文件,并加载镜像文件
变化的全部进程应该是可见的。
您应提交所有的源文件可运行jar文件( In this project, you should use Java GUI to implement a simple drawing board.
To get full marks, you should implement to:
draw line, circle, rectangle, text
change the color of a target
change the position of a targets
change the size of a targets
save images as files and load a image file
All processes of changes should be visible.
You should submit a runnable jar file with all your source files )
- 2020-11-06 22:09:49下载
- 积分:1
-
Exe4_3
3.已知车辆(Vehicle)包括机动车(MotoVehicle)和非机动车(NonMotorVehicle)2种。小汽车(Car)、公交车(Bus)等属于机动车,自行车(Bicycle)等属于非机动车。随着能源技术的发展,出现了电动自行车(ElectricBicycle)、电动小汽车(ElectricCar)、天然气公交车(NaturalGasBus)等新型车辆。车辆的共同特征是都能够运行(run),并且有唯一的5位车牌号(LicenseNumber)。机动车的共同特征是采用燃油发动机(FuelEngine),且能够驾驶(drive)。自行车的共同特征是能够骑行(ride)。电动车辆的共同特征是由电池(Battery)驱动。天然气车辆的共同特征是采用天然气(NaturalGas)作为动力。
要求:
(1)设计一个类体系描述上述车辆,写出它们的属性和方法。
(2)一家公司(Company)拥有10辆普通小汽车、5辆公交车、2辆电动小汽车和1辆天然气公交车,要求写一个方法listVehicles()显示所有车辆的信息(车牌号以及采用的动力)。
程序文件命名为Exe4_3.java。(3. Known vehicle (Vehicle) including motor vehicle (MotoVehicle) and non-motorized (NonMotorVehicle) 2 species. Cars (Car), bus (Bus), etc. to motor vehicles, bicycles (Bicycle), etc. are non-motor vehicles. With the development of energy technologies, the emergence of electric bicycles (ElectricBicycle), electric cars (ElectricCar), natural gas buses (NaturalGasBus) and other new vehicles. A common feature of the vehicle is able to run (run), and there are only five license plate number (LicenseNumber). Common feature is the use of a motor vehicle fuel engine (FuelEngine), and is capable of driving (drive). Common feature is the ability to ride a bike (ride). Common characteristics of the electric vehicle is driven by a battery (Battery). A common feature is the use of natural gas vehicles (NaturalGas) as the driving force.
Claim:
(1) describe the design of a class system of the vehicle, write their properties and methods.
(2) a company (Company) owns 10 ordinary cars, five buses, )
- 2015-06-14 18:22:51下载
- 积分:1
-
pcm
说明: 此MATLAB 函数 对 data 进行编码,并返回 JSON 格式的字符向量。... jsonencode 会将MATLAB 数据类型转换为下表中列出的 JSON 数据类型。 MATLAB 数据类型 JSON 数(This MATLAB function encodes data and returns the character vector in JSON format. Jsonencode converts the MATLAB data type to the JSON data type listed in the following table. JSON Number of Data Type in MATLAB)
- 2019-06-19 09:27:32下载
- 积分:1
-
cloudsim_学习笔记
cloudsim实例解析。学习cloudsin时,下载的实例,本文将详细解释代码各部分功能。(cloudsim Case analysis)
- 2018-05-03 16:46:47下载
- 积分:1
-
勇敢的猪
说明: 实现"勇敢的猪"这款游戏的最基本功能,如游戏界面,操作控制,游戏设置,玩家排行榜与帮助等(To achieve the most basic functions of the "brave pig" game, such as game interface, operation control, game settings, player ranking and help, etc.)
- 2020-06-19 15:00:01下载
- 积分:1
-
ShuaLeiZhe1.8.5
JAVA写的CF刷雷软件,可以自动准备,自动找房,自动开始挂机(java write cf programe)
- 2020-06-25 22:40:02下载
- 积分:1
-
ShanghaiBus
一个java应用程序,实现公交换乘的信息查询功能,是个很好的学习案例,从中可以学习javaGUI编程,并且可以进一步巩固java学习(A java application, to achieve bus transfer information inquiry function, is a good case study, from which we can learn javaGUI programming, and can further consolidate learning java)
- 2013-10-09 21:25:30下载
- 积分:1
-
com
eclipse rcp demo。eclipse rcp demo。eclipse rcp demo。
- 2015-04-16 12:55:14下载
- 积分:1
-
JavaFCADemo200101_src
形式概念分析,概念格算法
包含两个算法,一个算法是对给定的概念上下文数据集并生成概念格,另一个算法则是绘制出概念格的图。(This demo shows two algorithms related to Formal Concept Analysis. Algorithm one calculates all Formal Concepts contained in a given Formal Context. The second algorithm draws a Formal Concept Lattice corresponding to the given Context. The Lattice is not drawn taking any aesthetic considerations into account. This will be part of future enhancements. The program was written using Java (my first Java experience, a quite complex "Hello World").)
- 2021-01-08 18:28:52下载
- 积分:1
-
api_String
说明: Java编程基础,关于api中String类中的方法实现,适合Java学习着使用(Java programming foundation, about the method implementation in String class in api, suitable for Java learning to use)
- 2019-01-03 15:30:26下载
- 积分:1