用JAVA编写的绘图程序
功能简介:
支持存储,格式为XML,并支持颜色信息的存取,有导出为图片功能
支持多个组件选择:CTRL选择(或取消)和拉框选择或是复合选择(或取消)
支持多个组件拖动:选择多个组件可以同时拖动
支持全选功能和-with JAVA drawings prepared by the procedure functional description : Memory, the format of the XML, and supports color information access, derived pictures of a number of functional components to support options : CTRL choice (or canceled) and Rafah composite frame or choose option (or cancel) to support a number of components Drag : select multiple components can drag the whole electoral support functions and ... ... ...
定义4个类,MyShape、MyLine、MyRectangle和MyOval,其中MyShape是其他三个类的父类。MyShape为抽象类,包括图形位置的四个坐标;一个无参的构造方法,将所有的坐标设置为0;一个带参的构造函数,将所有的坐标设置为相应值;每个坐标的设置和读取方法;abstract void draw(Graphics g)方法。MyLine类负责画直线,实现父类的draw方法;MyRectangle负责画矩形,实现父类的draw方法;MyOval负责画椭圆,实现父类的draw方法。编写一个应用程序,使用上面定义的类,随机选取位置和形状,绘制20个图形。(Defines four classes, MyShape, MyLine, MyRectangle and MyOval, which MyShape the other three parent class. MyShape is an abstract class, including graphics position four coordinates a no-argument constructor, all the coordinates are set to 0 a parameterized constructor, all the coordinates is set to the corresponding values each coordinate set and reading method abstract void draw (Graphics g) method. MyLine class is responsible for drawing straight lines, to achieve the draw method of the parent class MyRectangle responsible for drawing rectangles, to achieve the parent class draw method MyOval responsible painted oval, draw method to achieve the parent class. Write an application that uses the class defined above, randomly selected location and shape, draw 20 graphics.)
EasyJF开源新闻系统是一个由EasyJF开源团队组织开发的基于Java平台的开源新闻系统。当前系统已经实现了基本的基本的新闻的发布、审核、推荐,关键字过滤,二级分类动态增减,多级用户等功能。(EasyJF revenue system is a news EasyJF revenue from the development team based organizations Jav a platform of raising revenue information system. The current system has achieved a basic fundamental news releases, review and recommendation, keyword filter, two dynamic classification change, Multi-user functions.)