You are on page 1of 55

TRNG I HC FPT

LP TRNH VIN QUC T


FPT-APTECH
Center Name : FPT-Aptech-HCM2
Address : 590 Cach Mang Thang 8 Street, District 3, Ho Chi Minh City.

DESIGN DOCUMENT

Faculty:
Batch No.:
Group No.:
Students:

Mrs. Le Mong Thuy


2007-0908-Y1-S2
01
Fullname
1
Nguyen Ngoc Anh<Leader>
2
Le Trong Hieu
Nguyen Hoang Phuong Thao
3
4
Nguyen Thi Bich Tuyen
5
Hoang Anh Minh

Roll No.
Student302565
Student302695
VN.033/200811/0352
Student398899
VN.033/200808/0213

Ho Chi Minh City, November 2009

Table Of Content
Review I
1.

Introduction..........................................................................................................

2.

Proposed Solution...................................................................................................

3.

User Requirement Specification................................................................................

4.

Functional Requirements Specification.......................................................................

5.

4.1.
4.2.
4.3.
4.4.

Login Functional............................................................................................................
Administrator Functions For Employees.....................................................................
Administrator Functions For Books.............................................................................
Administrator Functions For IssueNote......................................................................

Inputs Provided By Application.................................................................................

6.

Process Provided By Application...............................................................................

7.

Outputs Provided By Application..............................................................................

8.

System Requirement Specification.............................................................................

9.

8.1.
8.2.

Runtime Environment...................................................................................................
Development Environment............................................................................................

Scope of application................................................................................................

10. Technology............................................................................................................
11. Task Sheet Review I................................................................................................

Review I I

12. Architecture and Design Of The Project......................................................................


13. Data Flow Diagram............................................................................................ 12,13
14. User Function Diagram...........................................................................................
15. Entity Relationship Diagram....................................................................................

15.1. Entity...............................................................................................................................
15.2. Entity Relationship Diagram........................................................................................

16. Entity Property......................................................................................................

16.1.
16.2.
16.3.
16.4.
16.5.
16.6.
16.7.
16.8.
16.9.

Administrator.................................................................................................................
Employees.......................................................................................................................
Departments...................................................................................................................
Publishers........................................................................................................................
TitleBooks.......................................................................................................................
Department.....................................................................................................................
Issues...............................................................................................................................
Category..........................................................................................................................
Books...............................................................................................................................

17.1.
17.2.
17.3.
17.4.
17.5.

Administrator.................................................................................................................
Employees.......................................................................................................................
Department.....................................................................................................................
Publishers........................................................................................................................
Books...............................................................................................................................

17. Table Definition.....................................................................................................

17.6.
17.7.
17.8.
17.9.

TitleBooks.......................................................................................................................
IssueMasters...................................................................................................................
IssueDetails.....................................................................................................................
Category..........................................................................................................................

18. Database Relationship Diagram ...............................................................................


19. Task Sheet Review II...............................................................................................

Review III
1.

Login Form...........................................................................................................

2.

Main Frame Form..................................................................................................

3.

Employee Form.....................................................................................................

4.

5.

6.
7.

8.
9.

3.1.
3.2.
3.3.

Tab Insert Employee......................................................................................................


Tab Update/Delete Employee........................................................................................
Tab Department Employee............................................................................................

4.1.
4.2.
4.3.
4.4.

Add New Book................................................................................................................


Update/Delete.................................................................................................................
Add Publisher.................................................................................................................
Add Department.............................................................................................................

5.1.
5.2.
5.3.

Borrow Book...................................................................................................................
Return Book....................................................................................................................
Report Issuenote.............................................................................................................

Book Form............................................................................................................

Issue Note Form.....................................................................................................

Search Book..........................................................................................................
Account................................................................................................................

7.
7.1.

Information Account......................................................................................................
Change Password...........................................................................................................

Setting Form.........................................................................................................

Task Sheet.............................................................................................................

Sign Plan:
Library Management System
Affective date: 13-Nov-2009

Document Name:
Problem Definition
Version: 1. 0

SWD/Form: No. 1
Page 5 of 55.

REVIEW I :
PROBLEM DEFINITION

End Date :
17-Nov-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 13-Nov-2009

Document Name:
Problem Definition
Version: 1. 0

SWD/Form: No. 1
Page 6 of 55.

Problem Definition
1 - Introduction
Mohan Ltd. has a library which is managed by Ms. Monica manually. All records are
on paper and Monica finds it very difficult to manage when somebody issues or returns the
books. She has to maintain list of books along with details such as Author name, book title
etc. When a book is to be issued, she has to manually search for that book and again for
issuing book she has to maintain a register which will have details of book issued such as
Name of the book, Author, Employee details (name, department etc), Date of issue, Date of
return, etc. This process is tedious and time consuming. She has brought it to the notice of her
seniors and they have proposed the solution of developing a system which will help Monica
managing the things more effectively and also save her time. She will be the only user of the
system.
2 - Proposed Solution
Library Management System is a System for an issues or returns the books, the
manager can easier to find the Author name, book title, etc and will help them the things
more effectively and also save them time.
The system will have login for employee and system administrator. It can use for
search, update , .
3 User Requirement Specification
Mohan Ldt. wants the application to include following :
- There is should have system administrator.
- Allow admin to manage employees. Example : update, delete,.
- The employee can be check in book, check out book.
- Allow add a new book, update, delete a book.
- Allow the system shall let librarian query books details information by
their ISBN number or Author or Title.
- Display employee details.
- Display books details.
4 - Functional Requirements Specification :
4.1 Login Functional : .
- Administrator.
- The users need to provide a username and password to access the system.

End Date :
17-Nov-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 13-Nov-2009

Document Name:
Problem Definition
Version: 1. 0

SWD/Form: No. 1
Page 7 of 55.

4.2 Administrative Functions For Employees :


- Admin has permissions to manage employee data such as : insert, update,
delete,.
- Admin must login on system by his/her account, and then :
Can add a new the employee:
Employee ID.
Name of Employee.
Address, Phone Number, Department.
Can update the employee information:
Employee would be selected using employee ID.
Name, Address, Phone Number, Department of Employee.
Can delete the employee information:
Employee can be delete if there are no books issued by user.
Can search the employee information.
Approve or refuse to borrow books.
Check the date of issue and the date of return books of the employee.
4.3 Administrative Functions For Books :
- Admin must login on system by their account, and then :
Can add a new Book item:
The call number format to be adopted :
o (First 2 alphabets of title)-(first 2 alphabets of author)
sequence number of book.
o XX-XX-NNN.
The ISBN format to be adopted :
o (Numeric code for subject)- (Sequence number).
o NNN-NNNN.
o It would be unique of each specific title/author
combitation.
Title, Author of the book.
Can add Update a Book item:
The book can be retrieved using the call number.
The Data items which can be update are:
o ISBN, Title, Author.
Can add Delete a Book item:
The book can be delete only if no user has issued it.
All information will be delete.
Can create card book for Employee:
Create information for Employee :
o EmployeeID, Name, Address...
Can change their information/account:

End Date :
17-Nov-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 13-Nov-2009

Document Name:
Problem Definition
Version: 1. 0

SWD/Form: No. 1
Page 8 of 55.

Change their password.


Change address, phone number...
Can search a book item:
Allow Search by their ISBN number, Title, Author.
Employees can approve or refuse to borrow books.
Check the date of issue and the date of return books of themselves.
Receive borrow books and return books of employee.
Can display all information about book, borrower.
4.3 Administrative Functions For Issue Note :
- Employee must register card book.
Check the date of issue and the date of return books of themselves.
Receive borrow books and return books of Employee.
Check fees of Employee.
5 Inputs Provided By Application :
- Employees Information :
+ EmployeeID.
+ Name.
+ Address.
+ Phone Number.
+ Department.
- Login Information :
+ Username.
+ Password.
- Books Information :
+ Call Number.
+ ISBN.
+ Title.
+ Author Name.
+ Quantity.
+ Status.
- IssueNote Book Information :
+ EmployeeID.
+ Issue Code.
+ Call Number.
+ Due Date.
+ Issue Date.
+ Return Date.
+ Fine.
6 Process Provided By Application :
- Login validation:
+ Valid username, password.
- Book information validation:

End Date :
17-Nov-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 13-Nov-2009

Document Name:
Problem Definition
Version: 1. 0

SWD/Form: No. 1
Page 9 of 55.

+ Call Number(XX-XX-NNN).
+ ISBN (NNN-NNNN).
+ All information can not blank.
- Employee information validation:
+ A unique System ID would also be generated internally for each
employee.
+ All information can not blank.
- IssueNote book information validation:
+ All information can not blank.
+ The Issue Date would automatically reflect the current system date.
+ The due date would automatically be stamped as 5 days from current
Date
7 Outputs Provided By Application :
- Details information employees :
+ EmployeeID, Name, Address,.
- Details book information:
+ Call Number, Author, Title,.
- Issue Note book information:
+ EmployeID, Call Number, IssueDate.
8 System Requirement Specification :
8.1 Runtime Environment :
Hardware

Software

A minimum computer system that


will help you access all the tools in
the courses is a Pentium 200 or a
higher capability CPU.
256 Megabytes of RAM or higher
HDD 100 Megabytes available.

Java SE 5.0

NetBeans 5.0

MS SQL Server 2005

Java Virtual Machine

8.2 Development Environment :


Hardware

Software

Intel Pentium III or better.


RAM 1GB or better.
HDD 300 Megabytes or better
available.

End Date :
17-Nov-2009

Prepared by (Students)
Group 1: All Members

Java SE 6.0 or better.

NetBeans 6.0 or better.

MS SQL Server 2005.

Java Virtual Machine.

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 13-Nov-2009

Document Name:
Problem Definition
Version: 1. 0

SWD/Form: No. 1
Page 10 of 55.

9 Scope of application :
- The application do not support for Employee.
- The application only support for Administrator.
10 Technology :
- JDBC.
- Swing.
- Notepad / Java editor.

11 - TASK SHEET REVIEW I

Project Name:

Proposed Solution

4
5

REVIEW I

Introduction

Functional Requirements
Specification
System Requirement
Specification
Inputs/Process/Ouput
Provided By Application

Scope of application

Technology

End Date :
17-Nov-2009

Prepared by (Students)
Group 1: All Members

Start
Date

End
Date

Team Members

Status

Nguyen Ngoc Anh

17-Nov-2009

Description

Date of Preparation of Activity Plan

Library Management System

13-Nov-2009

Project
Ref. No.
Sr.
Task
No.

Le Trong Hieu
Nguyen Hoang Phuong Thao

Nguyen Thi Bich Tuyen


Hoang Anh Minh

Approved by (Faculty)
Mrs. Le Mong Thuy

Done

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 11 of 55.

REVIEW II :
DESIGN DATABASE

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 12 of 55.

12 - Architecture and Design Of The Project :


- The Application will have client server architecture; it will have two-tier architectures :

Tier 1
Presentation Tier

Tier 2
Database Tier

User Interface GUI Components

Database Access

Two-Tier Architecture of The Project

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 13 of 55.

13 DATA FLOW DIAGRAM :

DFD LEVEL 0 - Context Diagram

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 14 of 55.

DFD LEVEL 1 - Admin Management

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 15 of 55.

14 User Function Diagram :


ADMINISTRATOR
VIEW
Employee
LOGIN
INSERT

Invalid

Brorrow
Book

CHEC
K

IssueNote
Valid

Return
Book
Login Successful
Application
Account

UPDATE
VIEW

Book
INSERT

Book
Search

UPDATE

IssueNote
Employee

DELETE

EXIT

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 16 of 55.

15 Entity Relationship Diagram:


15.1 Entity :
ADMIN
PUBLISHER

EMPLOYEE

BOOK

DEPARTMENT

ISSUENOTE

CATEGORY

15.2 Entity Relationship Diagram :

Admin

Employee

b
el
o
n
g

Ha
s

Category
N

IssueNote

b
e
l
o
n
g

N
Has

Book

b
e
l
o
n
g

Publisher

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Department

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 17 of 55.

16 - Entity Property :
16.1 - Administrator :

ADMINISTRATOR

FullName

Password

UserName

16.2 - Department :
Department

Department

DepartmentID

16.3 - Publishers :

Publisher

Publisher

PublisherID
Email

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Address

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 18 of 55.

16.4 Employees :
EmployeeI
D
FullName

Address
EMPLOYEE

Department

Phone

16.5 - TitleBooks :
CallNumbe
r
Title

ISBN
TitleBook

Author

Quantity
Department

Publisher

16.6 - Department :

IssueDetails

BookID

End Date :
03-Dec-2009

IssueID

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 19 of 55.

16.7 - IssueNote:
IssueID
EmloyeeID

ReturnDate

IssueMater
Fine

DueDate

IssueDate

16.8 - Categorys :

Category

Category

CategoryID

16.9 -Books :
Books

ISBN
Status

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

CallNumb
er

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

17 - Table Definitions :
17.1 Administrator :
Administrator Table
Key
Field Name
Data Type
Primary
Username
Nvarchar
Password
Nvarchar
FullName
Nvarchar
17.2 Employees :
Employees Table
Key
Field Name
Primary
EmployeeID
FullName
PhoneNumber
Address
Foreign

Department

Data Type
Nvarchar
Nvarchar
Nvarchar
Nvarchar
Int

SWD/Form: No. 1
Page 20 of 55.

Length Null Description


20
Admin login name
20
Admin login password
50
Full name of admin

Length Null Description


30
Stores employee ID
50
Stores name of the employee
20
Stores phone of the employee
50
Stores address of the
employee
Stores department of the
employee

17.3 Departments :
Departments Table
Key
Field Name
DepartmentID
Primary
Department

Data Type
Int
Nvarchar

Length Null Description


Stores Department ID
30
Stores department of the
employee

17.4 Publishers :
Publishers Table
Key
Field Name
PublisherID
Primary
Publisher
Email
Address

Data Type
Int
Nvarchar
Nvarchar
Nvarchar

Length Null Description


Stores Publisher ID
30
Stores Publisher of the book
500
Stores Email of publisher
500
Stores Address of publisher

17.5 Books :
BooksTable
Key
Field Name
Primary
ISBN
Foreign
CallNumber
Status

Data Type
Nvarchar
Nvarchar
Nvarchar

Length Null Description


30
Stores ISBN of book
30
Stores Book ID
20
Stores Status of the book

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 21 of 55.

17.6 TitleBooks :
TitleBooks Table
Key
Field Name
Primary
CallNumber
Foreign
ISBN
Foreign
Publisher
Foreign
Category
Title
Author
Quantity

Data Type
Nvarchar
Nvarchar
Int
Int
Nvarchar
Nvarchar
Int

Length Null Description


30
Stores book ID
20
Stores ISBN of the book
Stores Publisher of the book
Stores Category of the book
300
Stores Title of the book
100
Stores Author of the book

Data Type
Nvarchar
Nvarchar
Datetime
Datetime
Datetime

Length Null Description


30
Stores Report ID
30
Stores Employee ID
Stores Due Date of the book

Stores Quantity of the book

17.7 IssueMasters :
IssueMasters Table
Key
Field Name
Primary
IssueCode
Foreign
EmployeeID
DueDate
IssueDate
ReturnDate
Fine

Int

Stores Issue Time of the book


Stores Return Time of the
book
Stores Fee of the book

17.8 IssueDetails :
IssueDetails Table
Key
Field Name
Foreign
IssueID
Foreign
CallNumber

Data Type
Int
Nvarchar

Length Null Description


Stores ID of the Issue Note
30
Stores Book ID of the Book

Data Type
Int
Nvarchar

Length Null Description


Stores Category ID
50
Stores Category of the book

17.9 Category :
Category Table
Key
Field Name
CategoryID
Primary
Category

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 22 of 55.

18 - Database Relationship Diagram

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 23 of 55.

19 - TASK SHEET REVIEW II

Project Name:

Data Flow Diagram

User Function Diagram

REVIEW II

Architecture and Design Of


The Project

Entity Relationship
Diagram
Entity Property

Table Definitions

Database Relationship
Diagram

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Start
Date

End
Date

Team Members

Status

Nguyen Ngoc Anh

17-Nov-2009

Description

Date of Preparation of Activity Plan

Library Management System

13-Nov-2009

Project
Ref. No.
Sr.
Task
No.

Le Trong Hieu
Nguyen Hoang Phuong Thao

Nguyen Thi Bich Tuyen


Hoang Anh Minh

Approved by (Faculty)
Mrs. Le Mong Thuy

Done

Sign Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 1
Page 24 of 55.

REVWIEW III :
DESIGN INTERFACE

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 25 of 55.

1 Login Form :

Project: LibraryMgmtSystem, Package: Library, File class: Login.java


No
Name
Type
Validation
Event
1
pnLogin
Jpanel
2
txtUsername
Text Field
Not Blank
Input
3
pwdPassword
Password
Not Blank
Input
Field
4
lblUsername
Label
5
lblPassword
Label
6
btnLogin
Button
Click
7
btnExit
Button
Click

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Description

Status

Username of admin
Password of admin

Enable
Enable
Enable

Username
Password
Login MainFrame
Exit the
application

Approved by (Faculty)
Mrs. Le Mong Thuy

Enable
Enable
Enable
Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 26 of 55.

Description :
- The form is load when enter application.
- When Click Button Login : check username, password.
o If txtUsername, pwdPassword are blank. The error message will be appear.
o If Username, Password are exist, close Login Form and enter to
Mainframe.
o If Username, Password are not exist. The error message will be appear :
Username or Password is not valid !.
2 Main Frame Form :

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 27 of 55.

Project: LibraryMgmtSystem, Package: Library, File class: MainFrame.java


No

Name

Type

btnEmployee

Validation

Event

Description

Status

Button

Click

Employee

Enable

btnMyAccount

Button

Click

His/Her Account

Enable

btnAboutUS

Button

Click

About US

Enable

btnBook

Button

Click

Book

Enable

btnSearchBook

Button

Click

Search Book

Enable

BtnIssuenoet

Button

Click

Issue Note

Enable

Description :
- The main frame form load, when login successful:
o Click button Employee : Employee management form will be appear:
Allow Insert, Update, Delete Employee.
o Click button My Account : Account management form will be appear:
Allow change password, create account.
o Click button About Us : About Us will be appear:
Information about team member.
o Click button Books : Book management form will be appear:
Allow Insert, update, Delete Book.
o Click button SearchBook : Search Book management form will be appear:
Allow search book.
o Click button IssueNote : Issue Note management form will be appear:
Allow borrow, return book, and report issue.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 28 of 55.

3 Employe Form :
3.1 Tab Insert Employee :
Description :
- The employee form is load, when click button Employe from main frame:
When click button Insert, check validation :
All information can not blank.
Information input correct. If it not true, the error message
will be appear.
When click button reset : all text field will be blank.
When click button cancel : exit employee form, main frame will be
appear.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 29 of 55.

Project: LibraryMgmtSystem, Package: Library, File class: Employee.java


No

Name

Type

1
2
3
4
5
6
7
8
9
10

Lblpicture
lblLogo
tabInsert
pnAdd
lblEmployeeID
lblFullName
lblPhoneNumber
lblAddress
lblDepartment
txtEmployeeID

Label
Label
Tab Panel
Panel
Label
Label
Label
Label
Label
Text Field

11

txtFullName

12

Validation

Event

Click

Description

Insert Employee

Status

Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable

Employee code

Text Field

Not blank, form Input


: E001
Not blank
Input

Full name of
employee

Enable

txtPhoneNumber

Text Field

Not blank

Input

Phone Number of
Empoyee

Enable

13
14

txtAddress
cboDepartment

Text Field
Combo Box

Not blank

Input
Select

Address of employee
Select a type of
department

Enable
Enable

15
16

btnInsert
btnReset

Button
Button

Click
Click

Enable
Enable

17

btnCancel

Button

Click

18

tblEmployee

Table

Click

Add a new employee


Reset all field and
combo box
Exit the form, the
MainFrame will be
appear.
Store information to
be added new
employee

19

lblEmployeeID

Label

EmployeeID

Disable

20

Label17

Label

Dipplay department
code

Disable

3.2 Tab Update/Delete Employee :

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Enable
Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 30 of 55.

Description :
- When click tab panel Update/Delete, the form update/delete will be appear :
o If you want change or delete any employee, you can search a employee by
EmployeeID:
After enter EmployeeID, information will be appear in table
tblUpdate.
Select row in table, all information will be show in below.
o When click button Update :
All information can not blank and right format.
Can not update EmployeeID.
If all text field is correct, display message : Update Employee
Successfull. Reverse : Error when Update A Record!.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 31 of 55.

o When click button Delete :


The record can delete if there are no books issued by user.
o When click button Reset :
Reset all information in the form.
o When click button Cancel :
Exit the form, MainFrame will be appear.
Project: LibraryMgmtSystem, Package: Library, File class: Employee.java
No
Name
Type
Validation Event
Description
1
Lblpicture
Label
2
lblLogo
Label
3
tabUpdate
Tab Panel
Click
Update/Delete
Employee
4
pnUpdate
Panel
5
lblSearchE
Label
6
txtSearchE
Text Field
Input
EmployeeID
7
tblUpdate
Table
Click
Select record employee
8
lblEmployeeID1
Label
9
lblFullName1
Label
10
lblPhoneNumber1
Label
11
lblAddress1
Label
12
lblDepartmentID1
Label
13
txtEmployeeID1
Text Field
format :
Employee code
E001
14
txtFullName1
Text Field
Not blank
Input
Full name of employee

Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Disable
Disable
Enable

15

txtPhoneNumber1

Text Field

Not blank

Input

16
17
18

txtAddress1
JLabel19
cboDepartment1

Text Field
Label
Combo Box

Not blank

Input

19

btnUpdate

Button

Click

20

btnDelete

Dutton

Click

Delete record of
employee

Enable

21

btnReset1

Button

Click

Enable

22

btnCancel1

Button

Click

Reset all field and


combo box
Exit the form

Select

Phone Number of
Empoyee
Address of employee

Status

Select a type of
department
Change information of
Employee

3.3 Tab Department Employee :

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Enable
Enable
Disable
Enable
Enable

Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 32 of 55.

Description:
-

When click tab panel Add Department, the form Department is load :
o When click button Insert :
All text field can not blank.
DepartmentID is identity.
If department enter correct, display message :Insert Department
Successfull. Reserve : Error When Insert Record Department.
o When click button Update:
Select row department in table department.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 33 of 55.

If text field department is correct, display message : Update


Department Successfull. Reverse : Error When Update A
Record!.
o When click button Delete:
Select row in table department.
If delete successful, display message : Delete Department
Successfull. Reverse : Error When Delete A Record!.
o When click button Reset :
Reset all information in the form.
o When click button Cancel :
Exit the form, MainFrame will be appear.

Project: LibraryMgmtSystem, Package: Library, File class: Employee.java


No

Name

Type

Lblpicture

Label

Enable

lblLogo

Label

Enable

tabDepartment

Tab Panel

pnDapartment

Panel

Enable

lblDepartment2

Label

Enable

6
7

lblDepartmentID2
txtDepartment

Label
Text Field

Name of department

Enable
Enable

txtDepartmentID

Text Field

Department code

Disable

tblDepartment

Table

Select

Select record Department

Disable

10

btnInsertDepart

Button

Click

Add a new department

Enable

11

btnUpdateDepart

Button

Click

Enable

12

btnDeleteDepart

Button

Click

13

btnResetDepart

Button

Click

Change information
department
Delete record of
department
Reset all text field

14

btnCancelDepart

Button

Click

Exit the form, mainframe


will be appear

Enable

End Date :
03-Dec-2009

Validation

Event

Click

Not blank

Prepared by (Students)
Group 1: All Members

Input

Description

Insert,update,delete
Department

Approved by (Faculty)
Mrs. Le Mong Thuy

Status

Enable

Enable
Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 34 of 55.

4 Book Form :
4.1 Add New Book :

Description :
-

When click button Books from MainFrame, the form book is load :
o Click tab Add New Book : add a new book .
o When click button Insert :
All text field can not blank, data will correct format.
If data is correct, display message : Insert Book Successfull.
Reverse : Error When Insert A Record! or Can Not Insert.
After insert successfull, data is updated on Employee table.
o When click button Reset :
Reset all information in the form.
o When click button Exit :
Exit the form, Mainframe will be appear.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 35 of 55.

Project: LibraryMgmtSystem, Package: Library, File class: Book.java


No

Name

Type

Validation

Event

1
2
3
4
5
6
7
8
9
10

Lblpicture
lblLogo
tabAddBook
pnAddBook
lblSequence
lblTitle
lblAuthor
lblCallNumber
lblIsbn
lblCategory

Label
Label
Tab Panel
Panel
Label
Label
Label
Label
Label
Label

11
12
13
14
15
16

lblPublicher
lblStatus
lblQuantity
lblCategoryID
lblPublisherID
txtSquenceNumber

Label
Label
Label
Label
Label
Text Field

17
18
19

txtTitle
txtAuthor
txtCallNumber

Text Field
Text Field
Text Field

20
21
22
23
24
25
26

txtIsbn
cboCategory
cboPublisher
txtStatus
txtQuantiy
btnInsert
btnReset

Text Field
Not blank
Combo Box
Combo Box
Text Field
Not blank
Text Field
Not blank
Button
Button

Input
Select
Select
Input
Input
Click
Click

27
28

btnCancel
tblInsertbook

Button
Table

Click
Click

Click

Description

Insert Book
Panel add a new book
Title
Author
Call Number
ISBN
Category

Not Blank,
only include 3
number
Not blank
Not blank

Input
Input
Input

Publisher
Status
Quantity
Code of category
Code of publisher
Sequnce numeric of
book

03-Dec-2009

Prepared by (Students)
Group 1: All Members

Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Disable
Disable

Enable

Title of book
Author of book
Call Number of book, it
automatically for title,
author, sequence
ISBN of a book
Category of book
Publisher of a book
Status of book
Quantity of book
Add a new book
Reset all information in
the form

Enable
Enable

Exit the form


Store information to be
added new book

Enable
Enable

4.2 Update/Delete Book :

End Date :

Status

Approved by (Faculty)
Mrs. Le Mong Thuy

Disable

Enable
Enable
Enable
Enable
Enable
Enable
Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 36 of 55.

Description:
-

When click tab panel Update/Delete, the form update and delete is load :
o If you want update or delete a book :
You should search book by callnumber.
When you enter callnumber in text field Callnumber, Information
of book will be display in Update table.
o When click button Update:
Should select row department in table department. If not, display
message : Choice line to Update or Delete.
If all information are correct, display message : Update Book
Successfull. Reverse : Error When Update A Record!.
o When click button Delete: Select row in table Update table.
If delete successful, display message : Delete Book Successfull.
Reverse : Error When Delete A Record!.
o When click button Reset : Reset all information in the form.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 37 of 55.

o When click button Exit : Exit the form, MainFrame will be appear.
Project: LibraryMgmtSystem, Package: Library, File class: Book.java
No
Name
Type
Validation
Event
Description
1
Lblpicture
Label
2
lblLogo
Label
3
tabAddBook
Tab Panel
Click
Insert Book
4
pnChangeBook
Panel
Panel update or
delete a book
5
lblCallSearch
Label
Call Number
6
lblCallNumber1
Label
Call Number
7
lblIsbn1
Label
ISBN
8
lblTitle1
Label
Title
9
lblAuthor1
Label
Author
10
lblCategory1
Label
Category
11
lblPublicher1
Label
Publisher
12
lblStatus1
Label
Status
13
lblQuantity1
Label
Quantity
14
lblCategoryID1
Label
Code of category
15
lblPublisherID1
Label
Code of publisher
16
txtCallSearch
Text Field
Search book by call
numer
17
txtCallNumber1
Text Field
Call Number of book
18
txtIsbn
Text Field
Not blank
Input
ISBN of a book
19
txtTitle
Text Field
Not blank
Input
Title of book
20
txtAuthor
Text Field
Not blank
Input
Author of book
21
cboCategory
Combo
Select
Category of book
Box
22
cboPublisher
Combo
Select
Publisher of a book
Box
23
txtStatus
Text Field
Not blank
Input
Status of book
24
txtQuantiy
Text Field
Not blank
Input
Quantity of book
25
btnUpdate1
Button
Click
Update a book
26
btnDelete1
Button
Click
Delete a record of
book
27
btnReset1
Button
Click
Reset all information
in the form
28
btnExit1
Button
Click
Exit the form
29
tblInsertbook
Table
Click
Store information to
be update/delete new
book

4.3 Publisher Form :

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Status

Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Disable
Disable

Enable
Disable

Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 38 of 55.

Description:
-

When click tab panel Add Publisher, the form Publisher is load :
o When click button Insert :
All text field can not blank.
PublisherID is identity.
If data enter correct, display message :Insert Publisher
Successfull. Reserve : Error When Insert Record Publisher.
o When click button Update:
Select row department in table Publisher.
If all text field is correct, display message : Update Publisher
Successfull. Reverse : Error When Update A Record!.
o When click button Delete:
Select row in table Publisher.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 39 of 55.

If delete successful, display message : Delete Publisher


Successfull. Reverse : Error When Delete A Record!.
o When click button Reset :
Reset all information in the form.
o When click button Exit :
Exit the form, MainFrame will be appear.

Project: LibraryMgmtSystem, Package: Library, File class: Book.java


No

Name

Type

Validation

Event

Lblpicture

Label

Enable

lblLogo

Label

Enable

tabPubliser

Tab Panel

pnPublisher

Panel

Enable

lblPublisherID2

Label

Disable

lblPublisher2

Label

Enable

lblEmail

Label

Enable

8
9
10
11
12
13

lblAddress
txtPublisherID
txtPublisher
txtEmail
txtAddress
btnInsertPublisher

Label
Text Field
Text Field
Text Field
Text Field
Button

14

btnUpdatePublisher

Button

Click

15

btnDeletePublisher

Button

Click

16

btnResetPublisher

Button

17

btnExitPublisher

18

tblPublisher

Click

Description

Insert,update,delete
publisher

03-Dec-2009

Enable

Enable
Publisher code, identity
Name of publisher
Email of publisher
Address of publisher
Add a new publisher

Disable

Enable

Click

Change information
publisher
Change information
publisher
Reset all text field

Button

Click

Exit the form

Enable

Table

Select

Select record of
publisher

Enable

Not blank
Not blank
Not blank

Input
Input
Input
Click

4.4 Category Form :

End Date :

Status

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Enable
Enable
Enable
Enable

Enable
Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 40 of 55.

Description:
-

When click tab panel Add Category, the form Category is load :
o When click button Insert :
All text field can not blank.
CategoryID is identity.
If data enter correct, display message :Insert Category
Successfull. Reserve : Error When Insert Record Category.
o When click button Update:
Select row department in table Publisher.
If all text field is correct, display message : Update Category
Successfull. Reverse : Error When Update A Record!.
o When click button Delete:
Select row in table Publisher.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 41 of 55.

If delete successful, display message : Delete Category


Successfull. Reverse : Error When Delete A Record!.
o When click button Reset :
Reset all information in the form.
o When click button Exit :
Exit the form, MainFrame will be appear.

Project: LibraryMgmtSystem, Package: Library, File class: Book.java


No

Name

Type

Validation

Event

Lblpicture

Label

Enable

lblLogo

Label

Enable

tabCategory

Tab Panel

pnCategory

Panel

Enable

lblCategory2

Label

Enable

lblCategoryID2

Label

Enable

txtCategory

Text Field

txtCategoryID

Text Field

btnInsertCategory

Button

10

btnResetCategory

11

Click

Not blank

Input

Description

Insert,update,delete
Category

Status

Enable

Name of Category

Enable

Code of Category

Disable

Click

Add a new Category

Enable

Button

Click

Reset all text field

Enable

btnUpdateCategory

Button

Click

Enable

12

btnDeleteCategory

Button

Click

13

btnExitCategory

Button

Click

14

tblCategory

Table

Select

Change information
Category
Delete record of
categoryt
Exit the form,
MainFrame will be
appear.
Select record of
Category

5 Issue Note Form:

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Enable
Enable
Disable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 42 of 55.

5.1 Borrow Book:

Description :
-

When click button IssueNotes from MainFrame, the form issue note is load :
o Click tab Borrow Book : borrow a book .
o When click button borrow :
All text field can not blank, data will correct format.
Search a book by CallNumber. When you enter text field
searchbook, information of book will be display in SearchBook
table
If data is correct, display message : Borrow Book Successfull.
Reverse : Error When Borrow Book! or Can Not Borrow
Book.
After insert successfull, data is updated on Employee table.
o When click button Reset :
Reset all information in the form.
o When click button Exit :

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 43 of 55.

Exit the form, Mainframe will be appear.

Project: LibraryMgmtSystem, Package: Library, File class: IssueNote.java


No

Name

Type

Validation

Event

1
2
3
4
5
6
7
8
9
10

Lblpicture
lblLogo
tabBorrowBook
pnBorrowBook
lblCallNumber
lblTitle
lblStatus
lblIssueDate
lblDueDate
IssueCode

Label
Label
Tab Panel
Panel
Label
Label
Label
Label
Label
Label

11
12
13
14
15

lblEmployeeID
txtCallNumber
txtTitle
txtStatus
txtIssueDate

Label
Text Field
Text Field
Text Field
Text Field

Not blank
Not blank
Not blank
Not blank

Input
Input
Input
Input

16

txtDueDate

Text Field

Not Blank

Input

17

txtIssueCode

Text Field

Not blank

Input

18
19
20
21
22

txtEmployeeID
lblSearchBook
txtSearchBook
btnBorrow
btnReset

Text Field
Label
Text Field
Button
Button

Not blank

Input

23
24

btnExit
tblBorrowBook

Button
Table

Click

Not blank

Description

Borrow a Book
Panel borrow book
CallNumber
Title
Status
Issue Date
Due Date
Issue Code
EmployeeID
Status
Title of book
Status of book
Issue Date borrow
book, it automatically
reflect the current
system date.
Due Date, it
automatically be
stamped as 5 days
from current date.
Code of issue, it
automatically for
title, CallNumber.
Code of Employee
Search Book
CallNumber of book
Add a record issue
Reset all information
in the form

Input
Click
Click
Click
Select

Exit the form


Store information of
book

5.2 Return Book :

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Status

Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Disable
Disable
Disable
Disable

Disable

Disable

Disable

Enable
Enable
Enable
Enable
Enable
Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 44 of 55.

Description :
-

When click tab panel Return Book, the form return book is load :
o Click tab Return Book : return a book .
o When click button Return :
All text field can not blank, data will correct format.
Search a employee by EmployeeID. When you enter text field
SearchEmployeeID, information of issue will be display in
tblReturnBook table
If data is correct, display message : Return Book Successfull.
Reverse : Error When Return Book! or Can Not Return Book.
After insert successfull, data is updated on tblReturnBook table.
o When click button Reset :
Reset all information in the form.
o When click button Exit :

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 45 of 55.

Exit the form, Mainframe will be appear.

Project: LibraryMgmtSystem, Package: Library, File class: IssueNote.java


No

Name

Type

Validation

Event

Lblpicture

Label

lblLogo

Label

tabReturnBook

Tab Panel

pnReturnBook

Panel

Panel Return book

5
6

lblEmployeeID
lblCallNumber1

Label
Label

EmployeeID
CallNumber

lblIssueDate1

Label

Issue Date

lblDueDate1

Label

Due Date

9
10
11

lblReturnDate
lblLateFee
lblSearchBook

Label
Label
Label

Return Date
LateFees
Search Book

Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable

12

txtEmployeeID1

Text Field

Not blank

Input

Code of Employee

Disable

13

txtCallNumber1

Text Field

Not blank

Input

Status

Disable

14

txtIssueDate1

Text Field

Not blank

Input

Disable

15

txtDueDate1

Text Field

Not Blank

Input

16

txtReturnDate

Text Field

Not blank

Input

17

txtLateFee

Text Field

Not blank

Input

Issue Date borrow


book, it automatically
reflect the current
system date.
Due Date, it
automatically be
stamped as 5 days
from current date.
Return Date borrow
book, it automatically
reflect the current
system date.
Fine of employee

18

btnReturn

Button

Click

Enable

19

btnReset

Button

Click

Update information
of issue
Reset all information
in the form

20

btnExit

Button

Click

Exit the form

21

txtSearchEmployee

Text Field

Input

Code of employee

22

tblBorrowBook

Table

Select

Store information of
issue

Enable
Enable
Enable

Click

Not blank

Description

Return a Book

5.3 Report Issue Note :

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Status

Disable

Disable

Disable

Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 46 of 55.

Description :
-

When click tab panel Report IssueNote, the form report is load :
All information of IssueNote will be displayin table.
Total number of book, employee, issuenote.

Project: LibraryMgmtSystem, Package: Library, File class: IssueNote.java


No

Name

Type

Lblpicture

Label

lblLogo

Label

tabReportIssueNote

Tab Panel

pnReportIssue

Panel

tblReportIssue

Table

Validation

Event

Click

Description

Status

Report of issue

Enable
Enable
Enable
Enable
Enable

Panel Report Issue


Select

Store information of
issue

6 Search Book:

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 47 of 55.

Description :
-

When click button Search Book, the form search book is load :
o You can search a book by :
ISBN or Title or Author or All.
o If you want search a book, you can choice in cboChoice, after that enter
information in text field Enter :
Click button Search:
All information can not blank.
All information of book will be appear in ResultSearch
table.
Click button View-Details:
A row data will be selected in ResultSearch table.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 48 of 55.

All information will be set to text field above.


When click button Exit :
Exit the form, Mainframe will be appear.

Project: LibraryMgmtSystem, Package: Library, File class: IssueNote.java


No

Name

Type

Validation

Event

Description

Lblpicture

Label

Enable

lblLogo

Label

Enable

lblCallNumber

Label

CallNumber

Enable

lblIsbn

Label

ISBN

Enable

5
6

lblTitle
lblAuthor

Label
Label

Title
Author

Enable
Enable

lblStatus

Label

Status

Enable

lblCategory

Label

Category

Enable

11
11
11
19

lblPublisher
lblQuantity
lblEnter
txtCallNumber

Label
Label
Label
Text Field

Publisher
Quantity
Enter
Code of book

Enable
Enable
Enable

18

txtIsbn

Text Field

ISBN of book

Disable

12

txtTitle

Text Field

Status

Disable

15

txtAuthor

Text Field

Author of book

Disable

16

txtStatus

Text Field

Status of book

Disable

18

txtCategory

Text Field

Category of book

Disable

20

txtPublihser

Text Field

Publisher of book

Disable

21

txtQuantity

Text Field

Quantity of book

Disable

22

cboChoice

Combo Box

Select

Search a book by title,


author, ISBN

Enable

21

btnViewDetail

Button

Click

View details book

Enable

21

btnSearch

Button

Click

Enable

23

btnExit

Button

Click

Display information
of book
Exit the form

24

tblResultSearch

Table

Select

Store information of
book

Enable

7 Account Form :

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Status

Disable

Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 49 of 55.

Description :
-

When click button My Account, the form account is load :


o All information of Admin will be appear in Account table.

Project: LibraryMgmtSystem, Package: Library, File class: IssueNote.java


No
Name
Type
Validation
Event
Description
1
LblPicture
Label
2
lblLogo
Label
3
tabInformation
Tab Panel
Click
Details of admin
4
pnInformation
Panel
Information Account
5
tblAcount
Table
Store information of
admin
6
btnExit
Button
Click
Exit the form

7.1 Change Password :

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Status

Enable
Enable
Enable
Enable
Enable
Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 50 of 55.

Description :
- After logging in all the user has the ability to change your password.
-

When click tab panel Cahnge Password, the form change account is load :
o When click button Change :
All text field can not blank.
If data is correct, display message : Change Account
Successfull. Reverse : Error When Change Account! or Can
Not Change Account.
Data tested in database.
o When click button Reset :
Reset all information in the form.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 51 of 55.

o When click button Exit :


Exit the form, Mainframe will be appear.
Project: LibraryMgmtSystem, Package: Library, File class: MyAccount.java
No

Name

Type

Lblpicture

Label

Enable

lblLogo

Label

Enable

tabChangePassword

Tab Panel

pnChangeAccount

Panel

lblUsername

Label

Username

Enable

lblOldPassword

Label

Old Password

Enable

lblNewPassword

Label

New Password

Enable

lblConfirmPassword

Label

Confirm Password

Enable

txtUsername

Text Field

Not blank

Input

Username of admin

Enable

10

pwfOldPassword

Password Field

Input

Old password of admin

Enable

11

pwfNewPassword

Password Field

Not blank,
it tested
database
Not blank

Input

New password of admin

Enable

12

pwfConfirmPass

Password Field

Not blank

Input

Confirm password of
admin

Enable

13

btnChange

Button

Click

Change a new password


of admin

Enable

14

btnReset

Button

Click

Reset all information in


the form

Enable

15

btnExit

Button

Click

Exit the form

Enable

End Date :
03-Dec-2009

Validation

Event

Click

Description

Change password

Status

Enable
Enable

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 52 of 55.

8 Setting Form:

Description :
-

When you setup application, you need connect database, the form setting
databasw is load :
o When click button Install :
All information are correct.
Server name, Usename Login, password must be true your
computer.
o When click button Reset :
Reset all information in the form.
o When click button Exit :
Exit the form, form Login will be appear.

Project: LibraryMgmtSystem, Package: Library, File class: SettingDatabse.java

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

Page 53 of 55.

No

Name

Type

lblLogo

Label

pnDatabase

Panel

Database Connect

Enable

lblServerName

Label

Server Name

Enable

lblInstanceName

Panel

Instance Name

Enable

lblPortName

Label

PortNumber

Enable

lblDatabaseName

Label

Database Name

Enable

lblUsernamer

Label

Username

Enable

lblPassword

Label

Password

Enable

txtServerName

Text Field

10

txtInstanceName

Text Field

11

txtPortNumber

Text Field

12

txtDatabseName

Text Field

13

txtUsername

Text Field

14

txtPassword

15

btnConnection

Password
Field
Button

16

btnTest

Button

17

btnExit

Button

End Date :
03-Dec-2009

Validation

SWD/Form: No. 3

Event

Description

Status

Enable

Not blank,
must be true
user computer
Not blank,
must be true
user computer
Not blank,
must be true
user computer
Not blank

Input

Server Name of user


computer

Enable

Input

Instance Name of user


computer

Enable

Input

Port Number of user


computer

Enable

Input

Enable

Not blank,
must be true
user computer
Not blank

Input

Database Name of
application
Username of SQL server
2005

Input

Password of Username

Enable

Click

Enable

Click

Connect databse with


software
Reset all text field

Click

Exit the form

Enable

Prepared by (Students)
Group 1: All Members

Approved by (Faculty)
Mrs. Le Mong Thuy

Enable

Enable

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Document Name:
Design Interface
Version: 1. 0

SWD/Form: No. 3
Page 54 of 55.

Task Sheet III


Project Name:

03-Dec-2009
03-Dec-2009

Le Trong Hieu

03-Dec-2009
03-Dec-2009

REVIEW III

Nguyen Ngoc Anh

SearchBook.java

REVIEW III

Book.java :
-Add A New Book
-Update/Delete Book
-Add Publisher
-Add Category
MainFrame.java

23-Nov-2009

Team Members

23-Nov-2009

End
Date

23-Nov-2009

Start
Date

23-Nov-2009

Description and File Class

IssueNote.java :
- Borrow Book.
- Return Book.
- Report IssueNote.

Employee.java :
- Add New Employee.
- Update/Delete Employee.
- Add New Department.

Date of Preparation of Activity Plan

Library Management System

REVIEW III

REVIEW III

Project
Ref. No.
Sr.
Task
No.

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

(Student302565)

Status

Done

<Leader>

(Student302695)

Done

Nguyen Ngoc Anh


Done

Le Trong Hieu

Nguyen Thi Bich Tuyen


Done

(Student398899)

Approved by (Faculty)
Mrs. Le Mong Thuy

End Date :
03-Dec-2009

Prepared by (Students)
Group 1: All Members

03-Dec-2009

SettingDatabase.java

Page 55 of 55.

03-Dec-2009

Login.java
MyAccount.java:
- Information Account.
- Change Password.

SWD/Form: No. 3

23-Nov-2009

REVIEW III

Document Name:
Design Interface
Version: 1. 0

23-Nov-2009

REVIEW III

Design Plan:
Library Management System
Affective date: 23-Nov-2009

Nguyen Hoang Phuong Thao

(VN.033/200811/0352)

Done

Hoang Anh Minh


Done

(VN.033/200808/0213)

Approved by (Faculty)
Mrs. Le Mong Thuy

You might also like