You are on page 1of 8

“ FLAG USING APPLET"

Submitted to
Amrutvahini Polytechnic, Sangamner
Department: - Computer Department
In Partial Fulfilment of the Requirement for the Diploma In
Information Technology Submitted
By

Roll No. Name Enrollment No.


02 Darade Akansha Balasaheb 2000800458

06 Avhad Bhushan Ramdas 2000800452

25 Tapal Rutuja Ramesh 2000800472

Under The Guidance of


Prof. Wakchaure Mam
Amrutvahini Polytechnic, Sangamner
(Approved by AICTE, NEW DELHI and Affiliated To MSBTE)
2020-2021
Amrutvahini Sheti and Shikshan Vikas Sanstha’s
AMRUTVAHINI POLYTECHNIC, SANGAMNER

CERTIFICATE

This is to certify that


Roll No. Name Enrollment no.

02 Darade Akansha Balasaheb 2000800458

06 Avhad Bhushan Ramdas 2000800452

25 Tapal Rutuja Ramesh 2000800472

Has satisfactorily completed the micro-project entitled,

“ Library Management System ”


As prescribed by MSBTE, Mumbai, as part of syllabus for the partial fulfillment
in Diploma in Computer Technology for Academic year

2021-2022.
Prof. Wakchaure Mam Prof. Kale G.B.
(Project Guide) (H.O.D.)

Annexure – II

Micro-Project Report Library

Management System

1.0 Rationale : Java is platform independent, open-source object oriented programming language
enriched with free and open source libraries. In current industrial scenario Java has the broad industry
support and is prerequisite with many allied technologies like Advanced Java, Java Server Pages, and
Android Application Development. Thus, current industrial trends necessitate acquiring Java
knowledge for Computer Engineering and Information Technology graduates. This course develops
necessary skills in students to apply object oriented programming techniques in Java so that students
will be able to develop complete applications using core Java.

.
2.0 Aims/Benefits of the Micro-project :
The Micro-Project aims to:
1. Acquire the aim of generating a Flag by considering various colors and shapes.
2. To learn and implement the concept of applet and graphics
3.0 Course Outcomes Achieved :
a. Implement 3 Programs using object oriented methodology and basic of java.
b. Apply 3 concept of inheritance for code reusability.
c. Implement 3 programs using multithreading and Exception Handling.
d. Execute 3 programs using graphics and applet.
e. Use 3 concept of file handling I/O and file streams.

4.0 Literature Review :


We have taken the help of different websites as well as videos available on internet to make the
code and develop our micro-project. We have used EditPlus for making and debugging the code.
Firstly we have studied about various graphics and applet programs and we have tried to create our
logic for modify the program to create our project. Also we have taken the help of MSBTE Lab
manual and various MSBTE books of Java Programming.
5.0 Actual Methodology Followed :
a) We had discussed with the guide about different micro project and finalized one.
b) We had discussed about the selected project with the guide.
c) We had first prepared project proposal and submitted it.
d) Then we took the reference various websites and videos to gather the information about
project.
e) We all had distributed the work among all team members.
f) We had prepared Coding in EditPlus to create a project.
g) We had debugged the program.
h) We had shown the project to guide.
i) We had done the necessary changes in the project as per instruction given by the guide.
j) We had prepared the rough report get it approved by guide and then prepared the final report.
k) Finally we had submitted the microproject and report along with viva.

Import java.applet.*;
Import java.awt.*;
Public class Republic_flag extends Applet {
Public void paint(Graphics fl){
Color c1=new Color(255,140,0); //saffron color
Color c2=new Color(139,0,0); // dark red color
//for pole
Fl.setColor(c2);
Fl.fillRect(250,100,5,400);
Fl.setColor(Color.black);
Fl.drawRect(250,100,5,400);
//for saffron
Fl.setColor(c1);
Fl.fillRect(255,102,180,40);
Fl.setColor(Color.black);
Fl.drawRect(255,102,180,40);
//for white
Fl.setColor(Color.WHITE);
Fl.fillRect(255,142,180,40);
Fl.setColor(Color.black);
Fl.drawRect(255,142,180,40);
//for green
Fl.setColor(Color.GREEN);
Fl.fillRect(255,182,180,40);
Fl.setColor(Color.black);
Fl.drawRect(255,182,180,40);
// for stairs
Int j[]={
250,245,245,225,225,280,280,260,260,255
};
Int k[]={
500,500,505,505,515,515,505,505,500,500
};
Fl.setColor(c2);
Fl.fillPolygon(j,k,10);
Fl.setColor(Color.BLACK);
Fl.drawPolygon(j,k,10);
// for ashok chakra
//fl.setColor(Color.blue);
Fl.drawOval(325,142,39,39);
// for lines in ashok chakra
Int n1=345;
Int d1=162;
Double n2,d2;
Double angle= 0.0; //for angle determination
Double line=0.0;
Int r=20;
For(int i=1;i<=24;i++)
{
Angle=(double)line*(3.14/180);
N2=n1+(double)r*Math.cos(angle); d2=d1+(double)r*Math.sin(angle);
Fl.drawLine(n1,d1,(int)n2,(int)d2); //drawing line between (n1,d1) and (n2,d2)
Line=line+(360/24);
}
}
}
/*
<applet code=”Republic_flag.class” width=”700” height=”700”>
</applet>
*/

1. Data collection Bhushan Avhad

2. Micro project Akshansh Darade


Proposal Preparation

3. Data base design Rutuja Tapal

4. Coding and Testing Akansha Darade


/Rutuja Tapal

5. Project Report Bhushan Avhad


6.0 Actual resources used :

Sr.no Name and Resource Specification Quantity Remark

1. Operating System Acer ryzen 3 1 -

Windows 10

2. Software Eclipse java 1 -


compiler

3. Data base Microsoft MS- 1 -


Access

7.0 Outputs of the Micro-Project :


8.0 Skill Developed/Learning outcome of this Micro-Project :
1. We learned co-ordination and leadership skills.
2. Learned to make use of Internet.
3. We developed better communication skills with other team members.

9.0 Applications of this Micro-Project


1. By implementing this program we can draw flag using various colors and shapes

2. By implementing this program we can also learnt various graphics concepts.

You might also like