Package outline JAVA 2 --------------- needs to be able to store(in memory), loading, saving, and displaying a flow chart. flow chart consists of the following primative symbols: -Round edged rectangle - For start and end of chart. -Rectangle - A process -Diamond - A descision (Boolean) -Line - Connects all above symbols. Instead of placing text in the rectangles /diamonds (processes/descisions) a key is to be placed into them and a table retained containing textual description of the meaning of the key e.g. a rectangle may contain the key 'P1' , and the table entry P1 may state 'open valve' or 'start ignition', the process & descision boxes are colored, but for a particular flowchart each occurance of a descision box or a process box must be of same color. This charcteristic is therefore static for all objects. A menu is to be provided containing options 'load','save' & 'Exit'. A menu entry 'change color' also needs to be provided with a sub menu entry for descision boxes and process boxes. A option to change the text coresponding to the key of a process or descision is also to be provided. Mouse control should be used to draw shapes. The minimum necessary is that the file containing information about object components can be created by hand, loaded and displayed. Each shape is of a fixed size except 'line' which may vary in length. As shapes are of a fixed size only two corodinates are needed to be stored 'x','y' A 'line' requires a pair of 'x'y' coordinates for start and end. Classes ------------ An abstract class shape will be inherited from to create process, descision, line, & begin/end. The abstract class will contain an abstract method 'Drawshape' which is to be implmented for the particular shape in the derived classes. The abstract class may also contain a field for color and any generic material which may be needed. objects of the same type may be stored in an array of objects which may be transversed and processed in a loop to simplify operations such as 'ChangeColor' and 'DrawShapes'. the key of a partciular primative (e.g process P1 may corespond to its position in the array.
## Deliverables
Deliverables ----------------- -contents & introdution -Description of the base class methods implemented -Description of the inheitence chain & inheritence techniques used. -Description of each of the derived class methods implemented -testing and bug report -source code (documented) byte code & java source Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
windows 9x & nt
## Deadline information
must be complete by 15\5\02