1
Contents
Introduction............................................................................................................................................2
Task 1....................................................................................................................................................2
Task -2................................................................................................................................................. 30
Software Testing:............................................................................................................................. 30
White Box Testing:....................................................................................................................... 30
Black Box Testing: ....................................................................................................................... 30
Task 3.................................................................................................................................................. 61
Class Diagram:................................................................................................................................ 61
Conclusion........................................................................................................................................... 63
2
Introduction
Photo editing is everyone need these days. We edit photos to give dull pictures new life and
value that is more aesthetic. However creating a photo editor application or graphics design is
difficult for common users. A local company approached me to develop simple photo editing
software, which allows people to easily and quickly add pictures and edit them. Application will
draw on pictures add text etc. on the based on users action. Users are allowed to input pictures to
library from system and edit them later. Application will have login system, which allows application
to have different set of images on library according to users. All the required functions wll be there.
Task 1
The program contains different algorithms to satisfy client requirements. Functions, loops,
selection, classes, objects, array and other techniques were used to create a working program.
Other includes uses of objects, handling user’s interaction, drawing, encapsulation and abstraction.
Function – Function is a piece of code, which is called by name and can be passed data on.
Function can be called at different instances. Below is the picture of using function in a program.
Loops – Loops allows us to execute a statement multiple until the condition satisfies. Loop is useful
of counting and doing large amount of repeated tasks. Loop is used in appropiate area in the
program. Below is the picture of using loop in a program.
3
Selection – Selection statement allows us to control the flow of the program. It is executed upon
the expressions or values. There are two-selection statement in java.
IF statement – IF is a selection statement. IF is executed depending on the true or false statement.
Below is the picture of IF selection statement.
Switch statement – Switch is a multiway branch statement. Switch is executed depending upon
the value used for switching. Below is the picture of Switch statement used in the program.
Class - Class is a template or a blueprint that contains / describes the behavior or state that the
object of its type support. From class individual objects are created. Class is group of objects which
have common or similar properties. Below is the picture of class used in the program.
4
Object- Object has the state and behavior. An object has three characteristics state, behaviour and
identity. An object is the instance of the class. Below is the picture of object used in the program.
Array - Array is the container, which holds a fixed number of values or a single type. A length of the
array has to be declared when creating. Below is the picture of array used in the program.
Handling user interaction – For this program I have used ActionListener to handle user’s
interaction. Below is the picture of user interaction used in the program.
5
Drawing – Drawing vectors, lines and adding text on the pictures and saving those drawn pictures
is made possible by using Graphics and buffered image. Below us the picture of drawing panel in
action.
6
Here is the source code of Mouse listener (Mouse moved) which is used to get x-axis and y-axis of
the mouse and use those points to draw vectors on those coordinate. Uses of mouseDragged is to
find how long or where the mose is dragged and those dragged information is used to draw the
vectors or shapes.
Library - Library is used to store images and use then later to edit. Library can hold large amount
of pictures. Pictures added on library is tied to user who added it. User can add images, remove
images, save image to library, which is on main frame, and load library image to main frame.
Library image list is stored in database and list of images differs from user to users.
7
Below is the source code used for library. This code opens JfileChooser to select the file and add
the selected file to the database. Same technique is used to delete the image from library.
Below is the code of all frames:
Login.java – This contains login code and after successful login, this frame closes and opens
Editor.java frame. This frame does not use any panels. Proper validation is done of this frame.
8
9
10
11
12
Create.java – This class contains login code where user can create new users. After successful
entering correct data, this frame transfer that information to database. After creating user in
database this frame closes and open Editor.java. All the elements of this frame is added to jframe.
Proper validation is done of this frame inoder to ensure data validity.
13
14
15
16
Editor.java – This class contain main frame where all the editing happens. This class is linked to
database for saving images to library. This frame has 3 panel. 1st
panel holds library 2nd
hold the
lower buttons and 3rd
one holds the drawing board where image is loaded. This frame also contains
menubar.
17
18
19
20
21
22
23
24
25
ImagePanel.java – This class has an image viewer, which is called by Editor. This class views
image of library upon called.
26
DbConnection.java – This class has all the stuff required to communicate with the database. Quires
for adding, deleting images, adding users are in this class.
27
28
29
30
Task -2
Software Testing:
Software testing is the process of evaluation a software item to detect differences between input
and expected output. Software testing is done during software development. Software testing
checks the validity of the output result.
It helps us to find the error or flaw in the program before distributing it. It also helps to find if
the client requirement is fulfilled or not. It helps to check the gap between actual requirement and
outcome result by program. Software testing is done by different group of people than the
developer. Software testing is divided into two parts:
White Box Testing:
In white box testing we test internal working and logical error of the program. We
do not test input and expected result here we only check if the program has any logical flaw.
Normal user cannot perform white box testing because it requires programming knowledge to look
into and understand code. User interfaces are not tested here. This testing requires time and is
complex then black box testing.
Black Box Testing:
Black box testing tests the functionality of the software. Black box testing is done
without looking at code and internal structure of the program. Black box testing is based on the
software requirement and specifications. Normal users can also perform black box testing. Black
box testing finds errors like interface errors, behavior or performance error, and database error or
missing functions.
Test case is a set of conditions or input variables under which the tester will test the program.
Below is the black box testing of program with test cases:
31
Project title: Graphics Package
Test title:Test cases of Graphics Package
Test Designed by: Suraj Rimal
Test designed date:2017/10/15
Test Executed by: Suraj Rimal
Test Execution date: 2017/10/19
For Login panel-
Test case: 1
Serial Number Description Expected Result Actual Result Pass/Fail
1. Username and
password cannot
be empty.
Username and
password error
was expected.
Error was shown
below the text field
and joption pane
pass
32
Figure 1 both field empty
Figure 2 when both field empty error shown in joption pane
33
Test case: 2
Serial Number Description Expected Result Actual Result Pass/Fail
2. Either text field
filled and other
left empty
Error was
expected stating
other field is
empty.
Other field is
missing error was
shown in joption
pane.
pass
Figure 3 Error when only one field is filled
Test case: 3
Serial Number Description Expected Result Actual Result Pass/Fail
1. User should able
to login after
clicking login.
If login details
match user
should login or
should throw
error
When details
matched user is
allowed to login,
else error is shown.
pass
34
Figure 4 when both field are correct
35
Figure 5 when one of the field is wrong
For create panel-
Test case: 1
Serial Number Description Expected Result Actual Result Pass/Fail
1. Missing any field
should not allow
creating account.
Error is expected
when any of the
field is empty.
Error was shown
below when any of
the field is left
empty.
pass
36
Figure 6 Corresponding Error is shown when missing any field
37
Test case: 2
Serial Number Description Expected Result Actual Result Pass/Fail
2. Negative
numbers should
not be allowed.
When inserted
error should be
thrown or user
should ne
notified.
User is notified in
joption pane about
the error.
pass
Figure 7 error shown when negative number is inserted
Test case: 3
Serial Number Description Expected Result Actual Result Pass/Fail
3. User creation
when all valid
details are
passed.
User should be
created
successfully.
New user was
created without any
errors.
pass
38
Figure 8 Database before creating user
Figure 9 User created
39
Figure 10 User created
Figure 11 Database after creating user
40
For Editor panel-
Test case: 1
Serial Number Description Expected Result Actual Result Pass/Fail
1. Users images
should be there
in library.
Users images on
library is
expected after
login.
User images were
there on library
section.
pass
Figure 12 Images on library after login
Test case: 2
41
Serial Number Description Expected Result Actual Result Pass/Fail
2. Able to load
picture on draw
panel.
User should able
to load images
from system to
draw panel.
User were able to
load images from
system to panel.
pass
Figure 13 loading images from system
Test case: 3
Serial Number Description Expected Result Actual Result Pass/Fail
3. Able to import
library images to
draw panel.
User should be
able to import
existing images
from library to
draw panel.
User were able to
use library images
on draw panel.
pass
42
Figure 14 Sky.jpg from library is loaded to draw panel
Test case: 4
Serial Number Description Expected Result Actual Result Pass/Fail
4. Able to draw
vectors on the
picture.
User should able
to draw vectors
on the picture.
User were able to
draw vectors on
the picture.
pass
43
Figure 15 Adding vectors on loaded picture
Test case: 5
Serial Number Description Expected Result Actual Result Pass/Fail
5. Able to write text
on picture.
User should be
able to write text
on the picture.
User were able to
write text on the
picture.
pass
44
Figure 16 Adding text on the picture
Test case: 6
Serial Number Description Expected Result Actual Result Pass/Fail
6. Able to Add
images to library
from system
directly.
User should be
able to add
images to library.
User were able to
add images to
library directly.
pass
45
Figure 17 before adding image to library
46
Figure 18 Adding image to library
Figure 19 After adding images to library
47
Test case: 7
Serial Number Description Expected Result Actual Result Pass/Fail
7. Able to delete
images from
library.
User should be
able to delete
image from
library.
User were able to
delete images from
library.
pass
Figure 20 before deleting images
48
Figure 21 deleting images from library
Figure 22 after deleting images from library
49
Test case: 8
Serial Number Description Expected Result Actual Result Pass/Fail
8. Able to clear
loaded image
with added
vectors
User should able
to clear drawn
vectors and
images.
User able to clear
loaded images with
vectors.
pass
Figure 23 before clearing main frame
50
Figure 24 after clearing draw panel
Test case: 9
Serial Number Description Expected Result Actual Result Pass/Fail
9. Able to add
effects
User should able
to add effects to
images alongside
vectors.
User were able to
add effects to
images with
vectors.
pass
51
Figure 25 before adding effects
Figure 26 after adding effects
52
Test case: 10
Serial Number Description Expected Result Actual Result Pass/Fail
10. Able to rotate
image.
User should be
able to rotate
loaded image.
User were able to
rotate rotated
image.
pass
Figure 27 rotated image
Test case: 11
Serial Number Description Expected Result Actual Result Pass/Fail
11. Able to save
edited picture on
file system.
User should be
able to save
edited picture.
User were able to
save edited picture
on file system.
pass
53
Figure 28 before saving image
Figure 29 after saving image
Figure 30 saved image
54
Test case: 12
Serial Number Description Expected Result Actual Result Pass/Fail
12. Able to save
draw panel image
to library.
User should able
to save already
loaded picture on
draw panel to
library.
User were to save
loaded image to
panel.
pass
Figure 31 before adding drawn image to library
55
Figure 32 database table before adding image
Figure 33 database table after adding image to library
56
Figure 34 image added to library
Test case: 13
Serial Number Description Expected Result Actual Result Pass/Fail
13. Able to view
library image
without loading to
main panel.
User should be
able to view
library image
without loading it
to draw panel.
After clicking image
in library a panel
pop ups viewing
image.
pass
57
Figure 35 before clicking library image
Figure 36 image loaded in new panel after clicking
58
Test case: 14
Serial Number Description Expected Result Actual Result Pass/Fail
14. Able to logout
user without
closing and
reopening
program.
User should be
able to logout
themselves from
the program.
User were able to
logout without
closing and
reopening.
pass
Figure 37 before clicking logout
59
Figure 38 after clicking logout;user is presented with login screen
Test case: 15
Serial Number Description Expected Result Actual Result Pass/Fail
15. No error should
be thrown on
console.
Instead of error,
information
should be passed
in console
window.
Information is
passed to console
when null or empty
is passed in
program.
pass
60
Figure 39 instead of null errors, information is shown
61
Task 3
b) For testing overview, I showed the program to my classmates. The program worked as their
expectation. However, there were some cases with the program. Here are few changes mentioned
by them about the application:
ď‚· The program does not show whose account is being used.
ď‚· Undo, redo option would be great.
ď‚· Image in library should be in matrix form showing actual image rather than image file name.
ď‚· Instead of fixed colors, color chooser would be better for wide verity of colors.
ď‚· Sometime adding negative effect makes image invisible.
ď‚· There is no option to delete user.
ď‚· Vectors does not draw at exact spot I clicked on, they are drawn slightly offside.
ď‚· Buttons at the below panel should be added in menu bar.
ď‚· Free form draw option is absent.
ď‚· Unable to resize text and no option to add different font to the text.
ď‚· Program cannot be executed on normal pc because it requires XAAMP and database, it
would be awesome if program was truely standalone.
Class Diagram:
Class diagram shows overview of the system by describing the object and class inside the
system and their relationship. It also shows operations and attributes of different class. However,
class diagram does not show the internal working of the programs and logics. It is the overview of
program.
Below is the class diagram of the Graphics Package:
62
Figure 40 class diagram ofGraphics Package
63
Conclusion
Graphics Package was created using different software development process and different
tools like functions, loops, selection, classes, objects, arrays etc. User interactions were properly
handled as much as possible. I have fulfilled all the requirement of client and the program works as
expected by the client. I also performed different sets of tests on the program to ensure no error
exists and performs as expected. The program does everything as the client requirement.Adding
user to system is easy and hassle free. Importing pictures to library and remove pictures from
library is easy. Even someone with less computer knowledge can run program properly. No errors
were found during testing the program. I hope to exceed to client expectations.
Word count - 2616

NCC assingment l4dc ddoocp

  • 1.
    1 Contents Introduction............................................................................................................................................2 Task 1....................................................................................................................................................2 Task -2.................................................................................................................................................30 Software Testing:............................................................................................................................. 30 White Box Testing:....................................................................................................................... 30 Black Box Testing: ....................................................................................................................... 30 Task 3.................................................................................................................................................. 61 Class Diagram:................................................................................................................................ 61 Conclusion........................................................................................................................................... 63
  • 2.
    2 Introduction Photo editing iseveryone need these days. We edit photos to give dull pictures new life and value that is more aesthetic. However creating a photo editor application or graphics design is difficult for common users. A local company approached me to develop simple photo editing software, which allows people to easily and quickly add pictures and edit them. Application will draw on pictures add text etc. on the based on users action. Users are allowed to input pictures to library from system and edit them later. Application will have login system, which allows application to have different set of images on library according to users. All the required functions wll be there. Task 1 The program contains different algorithms to satisfy client requirements. Functions, loops, selection, classes, objects, array and other techniques were used to create a working program. Other includes uses of objects, handling user’s interaction, drawing, encapsulation and abstraction. Function – Function is a piece of code, which is called by name and can be passed data on. Function can be called at different instances. Below is the picture of using function in a program. Loops – Loops allows us to execute a statement multiple until the condition satisfies. Loop is useful of counting and doing large amount of repeated tasks. Loop is used in appropiate area in the program. Below is the picture of using loop in a program.
  • 3.
    3 Selection – Selectionstatement allows us to control the flow of the program. It is executed upon the expressions or values. There are two-selection statement in java. IF statement – IF is a selection statement. IF is executed depending on the true or false statement. Below is the picture of IF selection statement. Switch statement – Switch is a multiway branch statement. Switch is executed depending upon the value used for switching. Below is the picture of Switch statement used in the program. Class - Class is a template or a blueprint that contains / describes the behavior or state that the object of its type support. From class individual objects are created. Class is group of objects which have common or similar properties. Below is the picture of class used in the program.
  • 4.
    4 Object- Object hasthe state and behavior. An object has three characteristics state, behaviour and identity. An object is the instance of the class. Below is the picture of object used in the program. Array - Array is the container, which holds a fixed number of values or a single type. A length of the array has to be declared when creating. Below is the picture of array used in the program. Handling user interaction – For this program I have used ActionListener to handle user’s interaction. Below is the picture of user interaction used in the program.
  • 5.
    5 Drawing – Drawingvectors, lines and adding text on the pictures and saving those drawn pictures is made possible by using Graphics and buffered image. Below us the picture of drawing panel in action.
  • 6.
    6 Here is thesource code of Mouse listener (Mouse moved) which is used to get x-axis and y-axis of the mouse and use those points to draw vectors on those coordinate. Uses of mouseDragged is to find how long or where the mose is dragged and those dragged information is used to draw the vectors or shapes. Library - Library is used to store images and use then later to edit. Library can hold large amount of pictures. Pictures added on library is tied to user who added it. User can add images, remove images, save image to library, which is on main frame, and load library image to main frame. Library image list is stored in database and list of images differs from user to users.
  • 7.
    7 Below is thesource code used for library. This code opens JfileChooser to select the file and add the selected file to the database. Same technique is used to delete the image from library. Below is the code of all frames: Login.java – This contains login code and after successful login, this frame closes and opens Editor.java frame. This frame does not use any panels. Proper validation is done of this frame.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
    12 Create.java – Thisclass contains login code where user can create new users. After successful entering correct data, this frame transfer that information to database. After creating user in database this frame closes and open Editor.java. All the elements of this frame is added to jframe. Proper validation is done of this frame inoder to ensure data validity.
  • 13.
  • 14.
  • 15.
  • 16.
    16 Editor.java – Thisclass contain main frame where all the editing happens. This class is linked to database for saving images to library. This frame has 3 panel. 1st panel holds library 2nd hold the lower buttons and 3rd one holds the drawing board where image is loaded. This frame also contains menubar.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
    25 ImagePanel.java – Thisclass has an image viewer, which is called by Editor. This class views image of library upon called.
  • 26.
    26 DbConnection.java – Thisclass has all the stuff required to communicate with the database. Quires for adding, deleting images, adding users are in this class.
  • 27.
  • 28.
  • 29.
  • 30.
    30 Task -2 Software Testing: Softwaretesting is the process of evaluation a software item to detect differences between input and expected output. Software testing is done during software development. Software testing checks the validity of the output result. It helps us to find the error or flaw in the program before distributing it. It also helps to find if the client requirement is fulfilled or not. It helps to check the gap between actual requirement and outcome result by program. Software testing is done by different group of people than the developer. Software testing is divided into two parts: White Box Testing: In white box testing we test internal working and logical error of the program. We do not test input and expected result here we only check if the program has any logical flaw. Normal user cannot perform white box testing because it requires programming knowledge to look into and understand code. User interfaces are not tested here. This testing requires time and is complex then black box testing. Black Box Testing: Black box testing tests the functionality of the software. Black box testing is done without looking at code and internal structure of the program. Black box testing is based on the software requirement and specifications. Normal users can also perform black box testing. Black box testing finds errors like interface errors, behavior or performance error, and database error or missing functions. Test case is a set of conditions or input variables under which the tester will test the program. Below is the black box testing of program with test cases:
  • 31.
    31 Project title: GraphicsPackage Test title:Test cases of Graphics Package Test Designed by: Suraj Rimal Test designed date:2017/10/15 Test Executed by: Suraj Rimal Test Execution date: 2017/10/19 For Login panel- Test case: 1 Serial Number Description Expected Result Actual Result Pass/Fail 1. Username and password cannot be empty. Username and password error was expected. Error was shown below the text field and joption pane pass
  • 32.
    32 Figure 1 bothfield empty Figure 2 when both field empty error shown in joption pane
  • 33.
    33 Test case: 2 SerialNumber Description Expected Result Actual Result Pass/Fail 2. Either text field filled and other left empty Error was expected stating other field is empty. Other field is missing error was shown in joption pane. pass Figure 3 Error when only one field is filled Test case: 3 Serial Number Description Expected Result Actual Result Pass/Fail 1. User should able to login after clicking login. If login details match user should login or should throw error When details matched user is allowed to login, else error is shown. pass
  • 34.
    34 Figure 4 whenboth field are correct
  • 35.
    35 Figure 5 whenone of the field is wrong For create panel- Test case: 1 Serial Number Description Expected Result Actual Result Pass/Fail 1. Missing any field should not allow creating account. Error is expected when any of the field is empty. Error was shown below when any of the field is left empty. pass
  • 36.
    36 Figure 6 CorrespondingError is shown when missing any field
  • 37.
    37 Test case: 2 SerialNumber Description Expected Result Actual Result Pass/Fail 2. Negative numbers should not be allowed. When inserted error should be thrown or user should ne notified. User is notified in joption pane about the error. pass Figure 7 error shown when negative number is inserted Test case: 3 Serial Number Description Expected Result Actual Result Pass/Fail 3. User creation when all valid details are passed. User should be created successfully. New user was created without any errors. pass
  • 38.
    38 Figure 8 Databasebefore creating user Figure 9 User created
  • 39.
    39 Figure 10 Usercreated Figure 11 Database after creating user
  • 40.
    40 For Editor panel- Testcase: 1 Serial Number Description Expected Result Actual Result Pass/Fail 1. Users images should be there in library. Users images on library is expected after login. User images were there on library section. pass Figure 12 Images on library after login Test case: 2
  • 41.
    41 Serial Number DescriptionExpected Result Actual Result Pass/Fail 2. Able to load picture on draw panel. User should able to load images from system to draw panel. User were able to load images from system to panel. pass Figure 13 loading images from system Test case: 3 Serial Number Description Expected Result Actual Result Pass/Fail 3. Able to import library images to draw panel. User should be able to import existing images from library to draw panel. User were able to use library images on draw panel. pass
  • 42.
    42 Figure 14 Sky.jpgfrom library is loaded to draw panel Test case: 4 Serial Number Description Expected Result Actual Result Pass/Fail 4. Able to draw vectors on the picture. User should able to draw vectors on the picture. User were able to draw vectors on the picture. pass
  • 43.
    43 Figure 15 Addingvectors on loaded picture Test case: 5 Serial Number Description Expected Result Actual Result Pass/Fail 5. Able to write text on picture. User should be able to write text on the picture. User were able to write text on the picture. pass
  • 44.
    44 Figure 16 Addingtext on the picture Test case: 6 Serial Number Description Expected Result Actual Result Pass/Fail 6. Able to Add images to library from system directly. User should be able to add images to library. User were able to add images to library directly. pass
  • 45.
    45 Figure 17 beforeadding image to library
  • 46.
    46 Figure 18 Addingimage to library Figure 19 After adding images to library
  • 47.
    47 Test case: 7 SerialNumber Description Expected Result Actual Result Pass/Fail 7. Able to delete images from library. User should be able to delete image from library. User were able to delete images from library. pass Figure 20 before deleting images
  • 48.
    48 Figure 21 deletingimages from library Figure 22 after deleting images from library
  • 49.
    49 Test case: 8 SerialNumber Description Expected Result Actual Result Pass/Fail 8. Able to clear loaded image with added vectors User should able to clear drawn vectors and images. User able to clear loaded images with vectors. pass Figure 23 before clearing main frame
  • 50.
    50 Figure 24 afterclearing draw panel Test case: 9 Serial Number Description Expected Result Actual Result Pass/Fail 9. Able to add effects User should able to add effects to images alongside vectors. User were able to add effects to images with vectors. pass
  • 51.
    51 Figure 25 beforeadding effects Figure 26 after adding effects
  • 52.
    52 Test case: 10 SerialNumber Description Expected Result Actual Result Pass/Fail 10. Able to rotate image. User should be able to rotate loaded image. User were able to rotate rotated image. pass Figure 27 rotated image Test case: 11 Serial Number Description Expected Result Actual Result Pass/Fail 11. Able to save edited picture on file system. User should be able to save edited picture. User were able to save edited picture on file system. pass
  • 53.
    53 Figure 28 beforesaving image Figure 29 after saving image Figure 30 saved image
  • 54.
    54 Test case: 12 SerialNumber Description Expected Result Actual Result Pass/Fail 12. Able to save draw panel image to library. User should able to save already loaded picture on draw panel to library. User were to save loaded image to panel. pass Figure 31 before adding drawn image to library
  • 55.
    55 Figure 32 databasetable before adding image Figure 33 database table after adding image to library
  • 56.
    56 Figure 34 imageadded to library Test case: 13 Serial Number Description Expected Result Actual Result Pass/Fail 13. Able to view library image without loading to main panel. User should be able to view library image without loading it to draw panel. After clicking image in library a panel pop ups viewing image. pass
  • 57.
    57 Figure 35 beforeclicking library image Figure 36 image loaded in new panel after clicking
  • 58.
    58 Test case: 14 SerialNumber Description Expected Result Actual Result Pass/Fail 14. Able to logout user without closing and reopening program. User should be able to logout themselves from the program. User were able to logout without closing and reopening. pass Figure 37 before clicking logout
  • 59.
    59 Figure 38 afterclicking logout;user is presented with login screen Test case: 15 Serial Number Description Expected Result Actual Result Pass/Fail 15. No error should be thrown on console. Instead of error, information should be passed in console window. Information is passed to console when null or empty is passed in program. pass
  • 60.
    60 Figure 39 insteadof null errors, information is shown
  • 61.
    61 Task 3 b) Fortesting overview, I showed the program to my classmates. The program worked as their expectation. However, there were some cases with the program. Here are few changes mentioned by them about the application: ď‚· The program does not show whose account is being used. ď‚· Undo, redo option would be great. ď‚· Image in library should be in matrix form showing actual image rather than image file name. ď‚· Instead of fixed colors, color chooser would be better for wide verity of colors. ď‚· Sometime adding negative effect makes image invisible. ď‚· There is no option to delete user. ď‚· Vectors does not draw at exact spot I clicked on, they are drawn slightly offside. ď‚· Buttons at the below panel should be added in menu bar. ď‚· Free form draw option is absent. ď‚· Unable to resize text and no option to add different font to the text. ď‚· Program cannot be executed on normal pc because it requires XAAMP and database, it would be awesome if program was truely standalone. Class Diagram: Class diagram shows overview of the system by describing the object and class inside the system and their relationship. It also shows operations and attributes of different class. However, class diagram does not show the internal working of the programs and logics. It is the overview of program. Below is the class diagram of the Graphics Package:
  • 62.
    62 Figure 40 classdiagram ofGraphics Package
  • 63.
    63 Conclusion Graphics Package wascreated using different software development process and different tools like functions, loops, selection, classes, objects, arrays etc. User interactions were properly handled as much as possible. I have fulfilled all the requirement of client and the program works as expected by the client. I also performed different sets of tests on the program to ensure no error exists and performs as expected. The program does everything as the client requirement.Adding user to system is easy and hassle free. Importing pictures to library and remove pictures from library is easy. Even someone with less computer knowledge can run program properly. No errors were found during testing the program. I hope to exceed to client expectations. Word count - 2616