Sunteți pe pagina 1din 6

Annexure-1

Micro-Project Proposal

Applet for Indian Flag


1.0 Rationale:-
1.1 Importance of project:

A Java applet was a small application that is written in


the Java programming language, or another programming language that
compiles to Java bytecode, and delivered to users in the form of
Java bytecode. 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 AppletViewer, or
a stand-alone tool for testing applets. As we can implement indian flag,
human Face, various shapes etc .

2.0 Aim/Benefits of the Micro-Project


2.1 Aims and objective:

1. We can design Indian Flag by using applet.


2. We can use some methods like drawRect(),drawOval().
3. We can use graphics methods to draw Flag.
4. Better understading of Applet methods.
2.2 Benefits & Advantage of Micro project:

1) It is use to draw logo ,various shapes and we also apply them color .
2) It is simple to make it work on FreeBSD, Linux, Microsoft Windows
and macOS – that is, to make it cross platform..
3) The same applet can work on "all" installed versions of Java at the
same time, rather than just the latest plug-in version only. However, if
an applet requires a later version of the Java Runtime
Environment (JRE) the client will be forced to wait during the large
download.
4) Most web browsers cache applets so they will be quick to load when
returning to a web page. Applets also improve with use: after a first
applet is run, the JVM is already running and starts quickly (the JVM
will need to restart each time the browser starts afresh).
5) It can move the work from the server to the client, making a web
solution more scalable with the number of users/clients.

3.0 Course Outcome Addressed :

a) Develop a program for object oriented methodology in java


b) Apply concept of code reusability
c) Develop a program using graphics and applet
d) Some methods of Applet
1.1 Literature Review:-

Programming with JAVA a primer”, by e balguruswamy, Third edition


chairman of EBG foundation,year of publication 2002, page no 250-274, An
applet is small java program that are primarily use in internet computing .

“ Effective Java”,by Joshua Bloch, Third edition is hands down best Java
book ever, year of publication 2008 ,page no 300-375,It can perform
arithmetic operation ,display graphics,create animation.

“java the Complete Reference” by Herbert Schildt ,5th Edition,year of


publication 2005, page no 285 -637,java as enabled to create and use fully
interactive multimedia web document .A wep page can now contain not only
text also a java applet.

“Java concerency in practice” by Dr. Heinz Kabutz, 5th edition,year of


publication 2011 ,page no 550-630, This will help you to better digest and
comprehend those topic There is no better book than Brian Goetz's Java
Concurrency in Practice to learn and master this tricky topic.

“Java a Beginner guide” by Sir Herbert Schildt,2nd edition,year of


publication 2009 ,page no 455-510 has also done a commendable job in
keeping the book up-to-date.
“Core java Volume 1-Fundamentals” by Cay S. Horstmann ,11th
edition,year of publication -2018,page no 440-610 , Core Java Volume I –
Fundamentals is a Java reference book that offers a detailed explanation on
various features of Core Java, including Applets.

“java performance” –The Definite Guide ,by Scott Oaks, 1st edition ,year of
publication 2014, page no 555-610, The Definite Guide educates readers
about maximizing Java Applet and synchronization performance features,
improve Java-driven database application performance, tackle performance
issues in Java EE and Java SE APIs, and much more..
5.0 Actual Methodology:

Logic of Project:

In java or our program of applet we can implement Indian flag by using


some applet methods such as drawRect(),drawOval() methods,setcolor for
applying color to methods given or flag. We can give background color to the
flag

Steps:

1. drawRect() : This methods is use to draw rectangle


2. fillRect(): This method is use to give color to rectangle
3. drawOval(): This method is use to draw circle for implementing
“Ashok Chakra” in our project.
4. fillOval(): This method is use to fill color in that chakra
5. Sin(),Cos(): This is use to draw a perfect Ashok chakra as there 24 lines
in it.
6. Applying for loop to draw 24 lines .

6.0Actual Resources used

Sr Nameof Specification Quantity Remarks


no resources/material
1 Computer Intel i5 6thGen 1.8 Ghz 1
4gb ram 1 TB hdb,21.5
inches TFD
Monitor,keyboard,mouse
2 Windows 2010 1
3 Software Java jdk 1.8.0 tool kit 1
7.0 Output of Micro project:
8.0 Skill Developed/Learning outcome of this Micro project:

 We studied to use Applet to any shape or car , cycle , indian flag etc.
 We learned how to color or design or applet in java.
 Understood basic of java program
 Understood creating an Applet methods
 Understood accessing methods of applet
 Understood to compiling executing and verifying the output

9.0 Application of this Micro-Project:


1) It is stand-alone programs that do not require the use of a browser.
2) Using applet we can draw Flag,logo,various shapes etc
3) For Applet of Indian Flag we have taken various methods
4) Bye using color package we have implement Indian flag

Name of Team Members with Roll Nos.

• Zaid Ali Khan

• VisheshTembhare

• Akash Ingle

Sign of Students Sign of Teacher

S-ar putea să vă placă și