Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
100% found this document useful (1 vote)
305 views

A Project Synopsis Animation Using Applet: Doraemon: Submitted by

This document provides a synopsis for an animation project using a Doraemon applet. A group of 4 students will create the applet under the guidance of Prof. Mitrakshi Patil. The project aims to show different cartoons and animations through a platform-independent Java applet. The applet will help make websites more dynamic by performing tasks like playing sounds and showing images on the client side. The project addresses course outcomes related to object-oriented programming, inheritance, multithreading, exception handling, graphics, and file I/O in Java. A literature review notes that applets are Java programs that run inside web browsers to make websites more interactive.

Uploaded by

DS55Sahil Jadhav
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
305 views

A Project Synopsis Animation Using Applet: Doraemon: Submitted by

This document provides a synopsis for an animation project using a Doraemon applet. A group of 4 students will create the applet under the guidance of Prof. Mitrakshi Patil. The project aims to show different cartoons and animations through a platform-independent Java applet. The applet will help make websites more dynamic by performing tasks like playing sounds and showing images on the client side. The project addresses course outcomes related to object-oriented programming, inheritance, multithreading, exception handling, graphics, and file I/O in Java. A literature review notes that applets are Java programs that run inside web browsers to make websites more interactive.

Uploaded by

DS55Sahil Jadhav
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 22

A PROJECT SYNOPSIS

on

ANIMATION USING APPLET: DORAEMON

Submitted By

1) UDAY PANNALAL BHOI (49)


2) SAHIL DEEPAK JADHAV (55)
3) JANHAVI RAJAMAHESH KOLAMBKAR (58)
4) RAHUL SUKUMAR VALLAKATI (69)

Under the Guidance of

Prof. Mitrakshi Patil

Department of Computer Science and Engineering(Data Science)

Saraswati Education Society’s

SARASWATI COLLEGE OF ENGINEERING

Kharghar,Navi Mumbai

(Affiliated to University of Mumbai)

Academic Year :-2021-22

1
Saraswati College of Engineering, Kharghar

Vision:

To become center of excellence in Engineering education and research.

Mission:

To educate students to become quality technocrats for taking up challenges in

all facets of life.

Department of Information Technology

Vision:

To create technically qualified talent through research to take up challenges in


industries.

Mission:

1. To impart quality education.

2. To develop technical and managerial skills through training and modern teaching-
learning process.

2
(Approved by AICTE, reg. By MaharashtraGovt. DTE,Affiliated to Mumbai University)
PLOT NO. 46/46A, SECTOR NO 5, BEHIND MSEB SUBSTATION, KHARGHAR,NAVI MUMBAI-410210
Tel. : 022-27743706 to 11 * Fax : 022-27743712 * Website: www.sce.edu.in

CERTIFICATE
This is to certify that the requirements for the synopsis entitled,” ”

Have been successfully completed by the following students:

Roll numbers Name

49 UDAY PANNALAL BHOI

55 SAHIL DEEPAK JADHAV

58 JANHAVI RAJAMAHESH KOLAMBKAR

69 RAHUL SUKUMAR VALLAKATI

In partial fulfillment of Sem –III Bachelor of Engineering of Mumbai University, Data Science of
Saraswati college of Engineering, Kharghar during the academic year 2021-22.

Internal Guide External Examiner


Prof. Mitrakshi Patil

Project coordinator Head of Department


Prof. Mitrakshi Patil Prof. Shraddha Subhedar

3
Acknowledgement

A project is something that could not have been materialized without cooperation of many people. This project
shall be incomplete if I do not convey my heartfelt gratitude to those people from whom I have got considerable
support and encouragement.

It is a matter of great pleasure for us to have a respected Prof. Mitrakshi Patil as my project guide. We are
thankful to her for being constant source of inspiration.

We would also like to give our sincere thanks to Prof. Shraddha Subhedar, H.O.D, AI & ML and Data
Science Department, Prof. Mitrakshi Patil, Project co-ordinator for their kind support.

We would like to express our deepest gratitude to Dr. Manjusha Deshmukh, our principal of Saraswati college
of Engineering, Kharghar, Navi Mumbai

Last but not the least I would also like to thank all the staffs of Saraswati college of Engineering (Information
Technology Department) for their valuable guidance with their interest and valuable suggestions brightened us.

1) UDAY PANNALAL BHOI (49)


2) SAHIL DEEPAK JADHAV (55)
3) JANHAVI RAJAMAHESH KOLAMBKAR (58)
4) RAHUL SUKUMAR VALLAKATI (69)

4
Project Title

ABSTRACT

5
INDEX

1. Introduction ………………………………………………….(10-12)

2. Problem statement……………………………………………()

3. Proposed system ………………………………………………(14)

3.1 Algorithm …………………………………………………(15)

3.2 Flowchart …………………………………………………(16-17)

4. Code…………………………………………………………….(18-20)

5. Results ………………………………………………………….(21)

6. Conclusion ………………………………………………………(22)

7. References ………………………………………………………..(22)

6
Program Educational Objectives (PEO)

1. To prepare the candidate for a successful career in the industry and make him acquainted with the
latest software and hardware,
2. To enable student to work productively as computer engineers, including supportive teamwork and
leadership roles on multidisciplinary teams,
3. Graduates are prepared to be responsible computing professionals in their own area of interest,
4. To provide the candidate with a sound foundation in mathematics, software technologies, database
technologies, networking, hardware and to prepare them for post graduate studies and research
programs.
5. To promote the awareness of lifelong learning among students and to introduce them to professional
ethics and codes of professional practice,
6. To demonstrate effective communication skills in oral, written and electronic media.

7
Program Outcomes (PO)

At the end of the program, a student will be able to:

1. Apply knowledge of mathematics, science and engineering.


2. Utilize the computer engineering knowledge in all domains, viz., health care, banking and Finance,
other professions such as medical, law, etc.
3. Design and conduct experiments as well as to analyze and interpret data.
4. Analyze the problem, subdivide it into smaller tasks with well-defined interface for interaction among
components, and complete the task within the specified time frame and financial constraints,
5. Design a system, component or process to meet the desired needs within realistic constraints such as
economic, environmental, social, political and Ethical ability,
6. Design, implement, and evaluate secure hardware and/or software systems with assured quality and
efficiency,
7. Communicate effectively the engineering solution to customers/users or peers,
8. Understand professional and ethical responsibilities,
9. Understand contemporary issues and to get engaged in lifelong learning by independently and
continually expanding knowledge and abilities,
10. Function in multidisciplinary teams,
11. Identify, formulate and solve engineering problems.

8
Lab Objectives:

Students will try to:

1. To acquaint with the process of identifying the needs and converting it into the problem.

2. To familiarize the process of solving the problem in a group.

3. To acquaint with the process of applying basic engineering fundamentals to attempt solutions to the
problems.

4. To inculcate the process of self-learning and research.

Lab Outcomes:

Student will be able to:

1. Identify problems based on societal /research needs.

2. Apply Knowledge and skill to solve societal problems in a group.

3. Develop interpersonal skills to work as member of a group or leader.

4. Draw the proper inferences from available results through theoretical/ experimental/simulations.

5. Analyze the impact of solutions in societal and environmental context for sustainable development.

6. Use standard norms of engineering practices

7. Excel in written and oral communication.

8. Demonstrate capabilities of self-learning in a group, which leads to life long learning.

9. Demonstrate project management principles during project work.

9
INTRODUCTION
ANIMATION USING APPLET: DORAEMON

1.0 Rationale
A Java applet is a small application that is written in the Java programming language, or another
programming language that compiles to Java byte code, and delivered to users in the form of Java byte
code. The user launched the Java applet from a web page, and the applet was then executed within a
Java virtual machine (JVM) in a process separate from the web browser itself. A Java applet could
appear in a frame of the web page, a new application window, Sun's Applet Viewer, or a stand-alone
tool for testing applets. Applets are used to make the web site more dynamic and entertaining.

1.0 Aim/Benefits of the Micro-Project


This Micro-Project aims at

● Showing different cartoons and animation through applets in Java.


● As applet is a small java program, so it is platform independent code which is capable to run on
any browser.
● Development of an Applet which when deployed over internet would help dynamic websites in
executing their basic goals.
● Applets can perform various small tasks on client-side machines. They can play sounds, show
images, get user inputs, get mouse clicks and even get user keystrokes, etc.

3.0 Course Outcomes Addressed


● Develop programs using Object Oriented methodology in Java.
● Apply concept of inheritance for code reusability.
● Develop programs using multithreading.
● Implement Exception Handling.
● Develop programs using graphics and applet.
● Develop programs for handling I/O and file streams.

10
4.0 Literature Review

● Applet is a Java program that can be embedded into a web page. It runs inside the web browser
and works at client side.
● Applet is embedded in a HTML page using the APPLET or OBJECT tag and hosted on a web
server.
● Applets are used to make the web site more dynamic and entertaining.
● All applets are sub-classes (either directly or indirectly) of java.applet.Applet
● Applets are not stand-alone programs. Instead, they run within either a web browser or an applet
viewer. JDK provides a standard applet viewer tool called applet viewer.
● In general, execution of an applet does not begin at main() method.
● Output of an applet window is not performed by System.out.println(). Rather it is handled with
various AWT methods, such as drawString().
● Life cycle of an applet:

● init( ) : The init( ) method is the first method to be called. This is where you should initialize
variables. This method is called only once during the run time of your applet.

● start( ) : The start( ) method is called after init( ). It is also called to restart an applet after it has
been stopped. Note that init( ) is called once i.e. when the first time an applet is loaded whereas
start( ) is called each time an applet’s HTML document is displayed onscreen. So, if a user
leaves a web page and comes back, the applet resumes execution at start( ).

11
● paint( ) : The paint( ) method is called each time an AWT-based applet’s output must be
redrawn. This situation can occur for several reasons. For example, the window in which the
applet is running may be overwritten by another window and then uncovered. Or the applet
window may be minimized and then restored.
paint( ) is also called when the applet begins execution. Whatever the cause, whenever the
applet must redraw its output, paint( ) is called.
The paint( ) method has one parameter of type Graphics. This parameter will contain the
graphics context, which describes the graphics environment in which the applet is running. This
context is used whenever output to the applet is required.

● stop( ) : The stop( ) method is called when a web browser leaves the HTML document
containing the applet—when it goes to another page, for example. When stop( ) is called, the
applet is probably running. You should use stop( ) to suspend threads that don’t need to run
when the applet is not visible. You can restart them when start( ) is called if the user returns to
the page.

● destroy( ) : The destroy( ) method is called when the environment determines that your applet
needs to be removed completely from memory. At this point, you should free up any resources
the applet may be using. The stop( ) method is always called before destroy( ).

12
RESOURCES REQUIRED

1. Computer System:- i3, 4GB RAM, 64-bit OS

2. Software:- JDK 1.8, Eclipse.

3. Operating System:- Windows 10

13
PROPOSED SYSTEM

Gathering of data, requirements, collection of information.


Analysis will be done to define functional requirements of the project.
On the basis of analysis the next step will be writing an abstract. Abstract which gives brief
introduction about the project.
Step wise procedure writing which explain the working and the functionality of project, this will be
done using algorithm.
Designing tool required to visualize the project functionality, best designing tool is flowchart.
After drawing of ER diagram, next step is implementation of project (coding), ‘JAVA
PROGRAMMING’ language is used for implementation. After completion of project, we need to
validate the system using testing.
Black box testing will perform to validate the project and then finding the output.

14
ALGORITHM

1. Start
2. Declare class Doremon
3. Inherit the Applet class using header file import java.applet.Applet
4. Declare main method paint
5. Draw and fill the body of the character using applet functions
6. Draw and fill the head of the character using applet functions
7. Draw and fill the face of the character using applet functions
8. Draw and fill the mouth of the character using applet functions
9. Draw and fill the eyes of the character using applet functions
10. Draw and fill the nose of the character using applet functions
11. Draw the moustache using applet functions
12. Draw and fill the necklace of the character using applet functions
13. Draw and fill the hands of the character using applet functions
14. Stop

15
FLOWCHART
Start

Declare class Doremon

Inherit the Applet class using header file import java.applet.Applet

Declare main method paint

Draw and fill the body of the character


using applet functions

Draw and fill the head of the character


using applet functions

Draw and fill the face of the character


using applet functions

Draw and fill the mouth of the character


using applet functions

Draw and fill the eyes of the character


using applet functions

Draw and fill the nose of the character


using applet functions

16
2
1

Draw the moustache using applet


functions

Draw and fill the necklace of the


character using applet functions

Draw and fill the hands of the character


using applet functions

Stop

17
CODE

import java.applet.Applet;
import java.awt.*;

/*
<applet code = "Doremon" width = 550 height = 550></applet>
*/
public class Doremon extends Applet
{
public void paint(Graphics g)
{
//body
g.setColor(Color.WHITE);
g.fillOval(204,405,65,40);
g.setColor(Color.BLACK);
g.drawOval(204,405,65,40);
g.drawOval(282,405,65,40);
int x[]={200,350,400,420,348,340,290,275,260,210,218,188,168};
int y[]={250,250,200,220,300,420,420,380,420,420,310,360,340};
g.setColor(Color.BLUE);
g.fillPolygon(x,y,13);
g.setColor(Color.BLUE);
g.fillPolygon(x,y,13);
g.setColor(Color.WHITE);
g.fillOval(223,240,115,125);
g.setColor(Color.BLACK);
g.drawOval(223,240,115,125);
g.drawLine(240,310,320,310);
g.drawArc(240,270,80,80,180,180);

//head
g.setColor(Color.BLUE);
g.fillOval(170,85,210,180);
g.setColor(Color.BLACK);
g.drawOval(170,85,210,180);

18
//face
g.setColor(Color.WHITE);
g.fillOval(188,125,175,135);
g.setColor(Color.BLACK);
g.drawOval(188,125,175,135);

//mouth
g.setColor(Color.BLACK);
g.drawLine(230,198,325,200);
g.drawArc(230,155,95,87,180,180);
g.setColor(Color.BLACK);
g.fillArc(230,155,95,87,180,180);
g.drawArc(255,214,50,40,-170,-170);
g.setColor(Color.RED);
g.fillArc(255,214,50,40,-170,-190);
g.fillArc(255,227,48,15,180,180);

//left eye
g.setColor(Color.WHITE);
g.fillOval(232,100,45,60);
g.setColor(Color.BLACK);
g.drawOval(232,100,45,60);
g.setColor(Color.BLACK);
g.fillOval(255,125,14,24);

//right eye
g.setColor(Color.WHITE);
g.fillOval(278,100,45,60);
g.setColor(Color.BLACK);
g.drawOval(278,100,45,60);
g.setColor(Color.BLACK);
g.fillOval(285,125,14,24);

//nose
g.setColor(Color.RED);
g.fillOval(260,148,34,34);
g.setColor(Color.BLACK);
g.drawOval(260,148,34,34);

19
//moustache line
g.drawLine(278,181,278,198);
g.drawLine(310,170,368,150);
g.drawLine(310,180,368,180);
g.drawLine(310,190,368,210);
g.drawLine(240,170,188,150);
g.drawLine(240,180,188,180);
g.drawLine(240,190,188,210);

//necklace
g.setColor(Color.red);
g.fillRect(215,248,120,15);
g.setColor(Color.black);
g.drawRect(215,248,120,15);

//bell
g.setColor(Color.yellow);
g.fillOval(260,250,40,40);
g.setColor(Color.black);
g.drawOval(260,250,40,40);

//left hand
g.setColor(Color.white);
g.fillOval(158,330,40,40);
g.setColor(Color.black);
g.drawOval(158,330,40,40);

//right hand
g.setColor(Color.white);
g.fillOval(390,190,40,40);
g.setColor(Color.black);
g.drawOval(390,190,40,40);
}
}

20
RESULT

21
Conclusion

Java applets are small pieces of code that work in another program. They help make a page more
dynamic. In addition to adding bling to a site, Java applets also add another layer of computer security.
The biggest advantage of applets is that they can be used on multiple platforms.
We have thus designed our project using applets.
Today we have hundreds of websites for online booking from a taxi to hotel.
Thus, Application of our project can be as a part of websites or web pages that work support online
booking of hotels or make travel plans.
Since applets can be easily downloaded over the internet our project being applet based can be used for
a global use.

REFERENCES

1. www.dokumen.tips
2. www.cs.columbia.edu
3. www.crio.do
4. www.sykfilabs.com
5. www.coursehero.com

22

You might also like