Вы находитесь на странице: 1из 8

Chat Application Using Java

Report submitted in partial fulfilment of the requirement for the degree of


Bachelor of Technology
In
Computer Science & Engineering
By
UJJAWAL SHARMA
(41615002717)
To
Dr. Sapna Malik, Assistant Professor, CSE

Maharaja Surajmal Institute of Technology


Affiliated to Guru Gobind Singh Indraprastha University
Janakpuri, New Delhi-58
2017-2021

I
Certificate (student)

I, UJJAWAL SHARMA, Enrolment No 41615002717, B.Tech (Semester- 5th) of the


Maharaja Surajmal Institute of Technology, New Delhi hereby declare that the Training
Report entitled “CHAT APPLICATION” is an original work and data provided in the
study is authentic to the best of my knowledge. This report has not been submitted to
any other Institute for the award of any other degree.

Place: New Delhi UJJAWAL SHARMA


Date: September 14, 2019 (Enrolment No:
41615002717)

II
III
ACKNOWLEDGEMENT

The success and outcome of this project required a lot of guidance and assistance
from many people and I am extremely privileged to have got this all along the
completion of my project. All that I have done is only due to such supervision
and assistance and I would not forget to thank them.
I respect and thank Mr. Siddharth Verma, for providing me an opportunity to do
the project work in TECHAVERA and giving us all support and guidance which
made me complete the project duly. I am extremely thankful to him for
providing such a nice support and guidance, although he had busy schedule
managing the corporate affairs. I owe my deep gratitude towards him, who took
keen interest on our project work and guided us all along, till the completion
of our project work by providing all the necessary information for developing
a good system.
I express my gratitude to Mrs.Koyel Dutta (HOD, CSE) for motivating and
allowing
me to complete the summer training in good schedule.
Also I would like to thank Mrs. Sapna Malik (Proctor, Computer Science
Engineering Morning) for her immense help regarding the project.
I would also thank all the Computer Science Department faculty members of
Maharaja Surajmal Institute of Technology, C-4 Janakpuri for their critical
advice and guidance without which this summer training would not have been
possible.
Last but not least I place a deep sense of gratitude to my family members and my
friends who have been constant source of inspiration during the training period.

IV
ABSTRACT

This is a project report on “Chat Application” During the making/developing of this


project we explored new ideas and functionality behind the working of a notepad.
We have learnt a lot during this project and liked the improvement in our testing skills
and deep concept related to these kinds of projects.
Our project is “Chat Application”. This is a socket connection based application which
helps people to give the facility to the people to interact and chat with each other on a
local area network or on internet and can share their ideas ,discussion over the
application.

V
LIST OF FIGURES

Fig 1.1 Techavera Logo ............................................... Error! Bookmark not defined.


Fig 3.1 Java Classpath Setting …………………………………………………….…..9
Fig 3.2 Compiling Diagam………………………………………………….………..10
Fig 4.1 Multithreading life Cycle………………………………………………….....11
Fig 6.1 Java AWT Hierarchy………………………………………………..……….22
Fig 6.2 AWT Output………………………………………………………...……….24
Fig 7.1 Hierarchy of Java Swing classes…………………………………….……….26
Fig 7.2 Swing Output……………………………………………………………...…27
Fig 8.1 GUI Chat Application………………………………………………….…….28
Fig 8.2 Running Project View………………………………………………….…….29

VI
TABLE OF CONTENTS

Front Page......................................................................................................................i
Certificate(Student)….…………….…………………………………………………..ii
Certificate…………………..……………………………………….………….……...iii
Acknowledgement……………………….…………………………………….……...iv
Abstract ………………………………………………………………….………..….v
List Of Figures………………………………………………………………….……..vi
Chapter – 1 Company
Profile……………………………………………………….Error! Bookmark not
defined.
1.1 About The
Company………………..…………………………………….……Error! Bookmark
not defined.
1.2 Company
Vision……………………………………………………………….….Error!
Bookmark not defined.
1.3 Company
Values…….………………………………………………….……...….Error!
Bookmark not defined.
1.4 Courses…………………….………………………………………………..……..2
1.5 Contact Details……………………….…………………………………….…....…2
Chapter -2 Technology Tools Studied During Training……………………..…......3
2.1 Hardware Requirements……………….………………………………………..….3
2.2 Software Requirements…………………….…………………………………..…..3
Chapter-3 Introduction To Java……………………………………………….……5
3.1 History……………………………………………………………………….….....6

vii
3.2 Basics Of Java…………………………………………………………………………………….…….………….7
3.3 Path Variable………………………………………………………………………………………………….…....9
3.4 Classpath Variable……………………………………………………….…….......9
3.5 Steps For Compilingand Executing Programs……...………………………….....10
Chapter – 4 Multithreading………………………..………………………………..11
4.1 Life Cycle Of A Thread………………………….…………………………….…11
Chapter – 5 Java Networking……………………….….………………………..…17
5.1 Socket Overview ………………………………….……………….……...………18

Chapter – 6 AWT (Abstract Windowing Toolkit)…….……..…………………. ..21


6.1 Java AWT Hierarchy……………………….………...……………………………21
Chapter – 7 Swing………………………………………….….……………………..25
7.1 Hierarchy Of Java Swing Classes……………………….………………………...25
Chapter – 8 Screenshots ,Result of the Project………………………………...…..28
8.1 GUI of project………………………………………………...…………………...28
8.2 Working Method……………………………………...………………………...…29
Chapter – 9 Limitation And Future Enhancement Conclusion………………..….30
9.1 Conclusion…………………………………………………………………………30
9.2 Limitations…………………………………………………………………………30
9.3 Future Enhancement Conclusion…………………………………………………..30
References……………………………………………………..………………………32

viii

Вам также может понравиться