35
GUI Application for EMail Application DOWNLOAD PROJECT FILE GUI APPLICATION FOR E-MAIL APPLICATION SESSION 2009-2010 A PROJECT REPORT FOR THE AWARD OF CLASS 11 EXAMINATIONS IN informatics practices UNDER THE GUIDANCE OF Mr. VINCENT ASHISH MOSSES Mr. GURMEET SINGH LAMBA PRINCIPAL IP. TEACHER

Gui application for e mail application

Embed Size (px)

Citation preview

Page 1: Gui application for e mail application

GUI Application for EMail Application

DOWNLOAD PROJECT FILE

GUI APPLICATION FOR E-MAIL APPLICATION

SESSION 2009-2010

A

PROJECT REPORT FOR THE AWARD OF CLASS 11 EXAMINATIONS IN informatics

practices

 

UNDER THE GUIDANCE OF

 Mr. VINCENT ASHISH MOSSES                                 Mr. GURMEET SINGH LAMBA                          PRINCIPAL                                       IP. TEACHER

 

SUBMITTED BYØ  

Page 2: Gui application for e mail application

Ø  

Ø    

 

CERTIFICATEThis is to certify that the project report entitled “GUI APPLICATION FOR E-MAIL APPLICATION” which is being submitted by , AND  as a partial fulfillment of the laboratory work for the award of class 11 Examination for the academic year 2009-2010 has been duly completed as a record of confide work in the informatics practices.

              The report is up to the standard both in respect of its contents and its literary presentation for being referred to the examiner.

REPORT SUBMITTED BY

Page 3: Gui application for e mail application

 

 

 

 

 

CERTIFICATEThis is to certify that the project report entitled “GUI APPLICATION FOR E-MAIL APPLICATION” which is being submitted by ,  &  as a partial fulfillment of the laboratory work for the award of class 11 Examination for the academic year 2009-10 has been duly completed as a record of confide work in the Informatics Practices. The report is up to the standard both in respect of its contents and its literary presentation for being referred to the EXAMINER.

Page 4: Gui application for e mail application

REPORT SUBMITTED BY 

 

  

DECLARATIONWe the student of class 11th of

Informatics Practices declares that the project entitled “GUI APPLICATION

FOR E-MAIL APPLICATION was done under the guidance of

of ARMY SCHOOL NO.1 G.R.C. JABALPUR, (M.P).

 

SUBMITTED BY1).          

Page 5: Gui application for e mail application

2).

3).

 

ACKNOWLEDGEMENTWe the student of class 11 th of Informatics Practices know that our institute is one of the best institute of the city. The environment is such a vivacious which provoked us to develop this project.

        We are really indebted to our school principal and teacher “Mr.Gurmeet Singh Lamba”. We are also thankful of the guidance & encouragement that helped us to work as a team. Before attempting to design a project it is important to have clear in-depth, understanding of the dynamic character of the program doing a project in Java (net beans) was not an easy task. We have to undertake a lot of tentative steps and prospered thinking limited amount of

Page 6: Gui application for e mail application

time resources at our disposal cause hindrance in our path. In between was a setback in our project design due to various reasons. But there was always an upsurge of interest and enthusiasm that helped us in laying strategies for tackling the problem raised.

                 Finally our acknowledgement will be incomplete if we do not mention all those who have generally given helpful comment, idea & support. We are particularly indebted to “Mr.Gurmeet Singh Lamba” who taught us Informatics Practices

 PREFACE

“PROGRAMING IS AN ART AS IN ALL ART FORM; EACH INDIVIDUAL MUST DEVELOP A STYLE

WHICH SEEMS NATURAL AND GENUINE”.

We prepare this project of “GUI APPLICATION FOR EMAIL APPLICATION” as a partial

examination for Informatics Practices.

It maintains nearly the entire management

Page 7: Gui application for e mail application

process related to maintenance (ADD, DELETE, EDIT & CANCEL) in computerized manner & generates account for commerce

student.

The following project report contains detailed information of the project to help the user. It has

been prepared with the help of “Java (net beans)”

We tried our level best to make the project user friendly. We have made use of nearly all the facility provided by I.P. The project we have undertaken aim at efficient management of

“GUI APPLICATION FOR EMAIL APPLICATION”. In spite of limited time &

faculty we have brought forward software of “GUI APPLICATION FOR EMAIL” by in depth understanding of whole process. This way we tried to use our Programming capabilities. The

software has been made as simple as possible.

CONTENTS

Page 8: Gui application for e mail application

 1).WORKING OF THE PROJECT

2).PROBLEM ASSIGNED

3).SYSTEM ANALYSIS AND DESIGN

4).ABOUT JAVA (NET BEANS)

5).FILE ORGANIZATION

6).PROGRAM LISTING    

7).PROGRAM LAYOUT

8).PROBLEM FACED

9).BIBLIOGRAPHY 

WORKING OF THE PROJECT

Page 9: Gui application for e mail application

 

Our team (,  AND VIVEK PILLAY) has made the project with the help of net beans.

 

The title of the project is “GUIA PPLICATION FOR     E-MAIL

APPLICATION”.                                           Starting of project: We started net bean. Then we click on file and started a new

project. 

1).We adds a new frame Form to it. Set the title of this frame to” Login Form”. Then add three labels, a text field, a password field and a button as shown in the following screen shot.

Page 10: Gui application for e mail application

 

2). Now we had set the names of the controls.

3). Now add another frame window to the project by dragging a Frame control from Swing Windows section of palette on the Login form.

4). Now double click the frame node by the name Email Form under Other Components, so that its design space opens up. Set the title property of this frame as “Email Form”.

5). On the design space of newly added frame, add three labels, three text fields, a text area and two push buttons. Arrange them as shown in the screen shot:

 

Page 11: Gui application for e mail application

6). Now set the properties of the controls.

 

7). Now, activate Login Form‘ main frame once again by double clicking on its node in Inspector window. Now drag a Dialog control from the Swing windows section of the palette on to the Login form.

8). Give the new dialog name as “MsgDialog” by right cliking on its node below Other Components in Inspector window.

9). Open its design  space by  double clicking on MsgDialog’s node below Other Components. Set its title as “Alert”.

10).On the design space of MsgDialog , add a label, and a push button . Arrange them as shown below :

11). Set the properties of the controls.

12). Now that all frame windows and

Page 12: Gui application for e mail application

dialog windows have been designed , it’s time we added functionality to our application. At this time, the Inspector window of the project is similar to the one shown below :ADD FUNCTIONALITY TO LOGIN FORM:13). Double click on main frame node of Login Form’s in Inspector window.14). In the design space of Login form , right click on Sign In button and select Events – Action – actionPerformed. 15).Now in the Source editor, in the EnterBtnAction Performed event handler, type the following source code below the //TODO comment:                                                             String loginid = LoginTF.getText();

Page 13: Gui application for e mail application

        String pwd = new String( PwdPF.getPassword());

        if( pwd.equals("Proceed")){

            EmailForm.setVisible(true);

            dispose();

        }

        else{

            Message.setText("Invalid Password");

            MsgDialog.setVisible(true);

 }

ADD FUNCTIONALITY TO EMAIL FORM

16). Double click on EmailForm node below Other Components in Inspector window.

17). In the design space of Email form,

Page 14: Gui application for e mail application

right click on Send button and select Events – Action – actionPerformed.

18). Now in the Source editor, in the SendBtnActionPerformed event handler, type the following source code below the//TODO comment :

 Message.setText(("Message has been sent successfully"));

MsgDialog.setVisible(true);

EmailForm.dispose();

19). In the design space of Email form, right click on discard button and select Events – Action – actionperformed.

20). Now in the Source editor, in the DiscardBtnActionPerformed event handler, type the following source code below the//TODO comment :

Page 15: Gui application for e mail application

 EmailForm.dispose();

System.exit(0);

ADD FUNCTIONALITY TO MSGDIALOG:21). Double click on MsgDialog node below Other Components in Inspector window.

22).In the design space of dialog, right click on OK  button and select

Events – Action – actionPerformed.

23). Now in the Source editor, in the OKBtnActionPerformed event handler, type the following source code below the//TODO comment :

  String txt = Message.getText ();

   If (txt.equals ("Invalid password")) {

Page 16: Gui application for e mail application

            MsgDialog.dispose ();

        }

Else {

            MsgDialog.dispose ();

            System. Exit (0);

 

 

SAVE AND RUN

24). Now our work is complete. Save the project and run to see how it works.

  

 

PROBLEM ASSIGNED

Page 17: Gui application for e mail application

 

There was a time when almost every work has been done manually. Now the scenario has been changed. Now every process is being automated like Banking, Railway reservation, Hospital, and even the bill generation management. There are many problems due to Manually Processed System. Some are discussed below:-

·     In the manual system lot of time and effort are wasted in writing the data from one source to another. ·     In the manual system user enquiry take a lot of time to be answered and that too not always efficiently , but if the queries are handled through computerized system there will be manifold increase in speed and accuracy.

Page 18: Gui application for e mail application

·     Through automated system we can also show graphical representation of the customer or can compare it with the previous record with a short span of time, which can not be done accurately and efficiently .

 

Since it is a computerized system so all – work will become much simpler in handling and lot of time is saved and we also getup to date and accurate

information.

 

 

SYSTEM SPECIFICATION 

HARDWARE REQUIREMENT:

Page 19: Gui application for e mail application

 1.               COMPUTER SYSTEM –

System name is rated to have a speed of about 800 MHz.

Microprocessor: Pentium – P-4.

 

2.       PRIMARY STORAGE –

Computer memory 128 MB RAM

 

3.             SECONDARY STORAGE –

650 MB (CD ROM)

40 GB (HARD DISK)

 

 

  4. INPUT DEVICE –

Page 20: Gui application for e mail application

 

(I) Key Board:CAPACITIVE – 107 keys

INCLUDING – 

a) Function key (F1 – F12)       

b) Separate Numeric Pad

c) Cursor control key

d) Scroll mouse

 

5. OUTPUT DEVICE

Monitor – Visual Display Screen

Printer – Laser Printed

 

 

Page 21: Gui application for e mail application

SOFTWARE1.               OPERATING SYSTEM –

a)           MS WORDb)           JAVA

2.              LANGUAGE USED –

JAVA

3.             PACKAGE USED –a)           WORDPADb)           TEXTPADc)            MS-WORDd)           NET BEANS

       

Page 22: Gui application for e mail application

PROBLEM FACED 

We come across various hindrances while designing the system “GUI APPLICATION FOR EMAIL APPLICATION” therefore our project is only a small endeavor in improving the efficiency of management. The problem include typing errors, some logical errors etc. It was only after repeated trials that we obtained the desired format, documentation and forming took a great deal of time.

                    This being my first System Design in JAVA, we cannot claim it to be perfect. It can still use changes, but the designing of the project has given us the confidence to design a better project in future.

Page 23: Gui application for e mail application

          While making the project, we got problems in the area like Designing and Making programs. We had to face some problems in program designing. Some of them are as follows:

* NULL VALUE OF VARIABLES: this occurs when the Data control associated with the variable is not given correctly.

* SYSTEM ERROR: not valid according to system rule of the language.

* UNRECOGNIZED PHRASE OR KEYWORD IN THE COMMAND: occurs when wrong command is given.

     * OPEN PARANTHESIS: Parenthesis not          Placed   at right position. 

Page 24: Gui application for e mail application

 

 

 

A word about java[netbeans]

Introduction:

Java is a popular third-generation programming language, which can be used to perform any of the thousands of things that Computer software can do. With the features it offers, Java has become the language of choice for Internet and Intranet applications. Java plays an important role for the proper functioning of many software- based devices attached to a network. The kind of functionality the Java offers, has contributed a lot towards the popularity of Java.

ABOUT JAVA:

Java is both a programming language and a platform. Like any other programming language you can use java to write or create various types of computer applications. Thus, Java fits the definition of a programming language. Java is also a platform for

Page 25: Gui application for e mail application

application development. The word platform generally is used to refer to some combination of hardware and system software e.g., operating system Windows Vista on Intel Pentium 5 or Windows NT on DEC Alphas or System 8.5 on PowerMacs etc. The Java Platform is a new software platform different from many other platforms; it is designed to deliver and run highly interactive, dynamic and secure applications on networked computer systems.

 

History of java:

Do you know that Java was not developed keeping in mind the World Wide Web? Java started as an elite project (code named Green) to find way of allowing different electronic devices Such as TV-top boxes and controllers to used a common language. This language for electronic devices was originally named Oak but failed to find a niche despite its potential.

Characteristics of java:

Ø Write Once Run Anywhere (WORA).

Ø Light Weight Code.

Page 26: Gui application for e mail application

Ø Security

Ø Built- In Graphics.

Ø Object-Oriented Language.

Ø Supports Multimedia.

Ø Platform Independent.

Ø Open Product.

Program layouts 

 

 

 

BIBLIOGRAPHY:   

v    Taking the help of Mr. Gurmeet Singh Lamba Sir                                       

Page 27: Gui application for e mail application

[Teacher of Informatics Practices].

 

v    Taking the help of Informatics Practices      Book Written by                                Sumita    Arorav    Taking the help of Internet.

 

     

Page 28: Gui application for e mail application

    

 

 

 

 

Thanking You!!!