0% found this document useful (0 votes)
20 views11 pages

Ajp Microproject 2

The AJP Microproject report details a currency converter application developed using Java Swing, aimed at fulfilling the requirements of a fifth-semester Information Technology course. The project includes a simple game that utilizes if-else statements and exception handling, demonstrating the students' understanding of these programming concepts. The report outlines the project methodology, resources required, and provides program code along with outputs and conclusions regarding the project's utility in finance and business.

Uploaded by

yennamvishal1883
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views11 pages

Ajp Microproject 2

The AJP Microproject report details a currency converter application developed using Java Swing, aimed at fulfilling the requirements of a fifth-semester Information Technology course. The project includes a simple game that utilizes if-else statements and exception handling, demonstrating the students' understanding of these programming concepts. The report outlines the project methodology, resources required, and provides program code along with outputs and conclusions regarding the project's utility in finance and business.

Uploaded by

yennamvishal1883
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

AJP MICROPROJECT

A PROJECT REPORT

Submitted By:

Sr. No. Roll No. Student Name

01
02
03

IN PARTIAL FULFILLMENT OF THE FIFTH SEMESTER


IN
INFORMATION TECHNOLOGY

SHIVAJIRAO S. JONDHLE POLYTECHNIC,ASANGAON


MAHARASHTRA STATE OF TECHNICAL EDUCATION, MUMBAI.

1
AJP MICROPROJECT

CERTIFICATE

SHIVAJIRAO S. JONDHLE POLYTECHNIC,ASANGAON


(MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MUMBAI)

This is certify that the following students. :

Sr. No. Roll No. Student Name

01
02
03

Of FIFTH Semester of Diploma in Information Technology of Institute of SHIVAJIRAO S.


JONDHLE POLYTECHNIC,ASANGAON (Code: 0935) have complete the micro-project work
satisfactorily under my supervision and guidance in subject AJP 22517 for the academic year
2024-2025 as prescribed in the curriculum.
Micro Project Name: ___________________________

(Subject Teacher) H.O.D Principal

2
AJP MICROPROJECT

Part-A Micro-Project Proposal


Currency converter using AWT

1.0 Aims/Benefits of the Micro-Project –

2.0 Course Outcomes Addressed


3.0 Proposed Methodology
We completed our work in good co-ordination and hardworking. First we started
collecting information about if else statements and lClass And we started to form report
on that concept. Finally we completed the project with good outcomes.

4.0 Action Plan (Sequence and time required for major activity)
Name of
Sr. Planned Start Planned
Details of activity Responsible
No. date Finish date
Team Members

1 Selection of topic 05-06-21 04-8-2024 All Members

2 Collecting information 06-06-21 18-8-2024 All Members

3 Coding 07-06-21 13-10-2024 All Members

4 Preparing Report 08-06-21 27-10-2024 All Members

5.0 Resources Required (major resources such as raw material, some machining facility,
software etc.)
Sr. Name of
No. Resource/material Specifications Qty Remarks

1 MS-Word 2010 1
2 Laptop RYZEN 5@345GH 8GB Ram 1
3 IDE intellij 1

Annexure – II

3
AJP MICROPROJECT

Part – B Micro-Project Report


Simple Game

1.0 Aims/Benefits of the Micro-Project :


Simple Game using if else & Exception

2.0 Course Outcomes Addressed


In this project I learn about what is if else statements & Exception, their operations and
applications.

3.0 Literature Review


The main part of this project is to develop a various games

4.0 Actual Methodology Followed.


We completed our work in good co-ordination and hardworking. First I started
collecting information about If else statements and loops. And I started to form report on
that concept. Finally we completed the project with good outcomes.

5.0 Outputs of the Micro-Projects


successfully made stone paper scissors game.

6.0 Skill Developed / Learning outcome of this Micro-Project


From this project I learned about If else statements and loops.

7.0 Applications of this Micro-Project


The common use of If else statements and loops
& class Exception.

4
AJP MICROPROJECT

Introduction
Swing is apart of the JFC(Java Foundation Classes) . Building Graphical
User Interface in java requires the use of Swing.Swing Freamwork
continsca largeset of components which allow a high level of customization
and provide rich functionalities and is used to used creat window-based
application. Java swing components are lightweight, platformindependet,
provide powerful components like tables, scroll panels, button, list, color
chooser, ect.
In this article, we’ll see how to make a currency convertar which includes
conversion berween INR and Dollar. Tow textfield are implemented with the
lable Ruppes and Doller.

5
AJP MICROPROJECT

Abstract :

6
AJP MICROPROJECT

Program Code :
package com.AJP;

import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
public class CFG
{
public static void Converter()
{
JFrame f=new JFrame("CONVERTER");
JLabel l1,l2;
JTextField t1,t2;
JButton b1,b2,b3;

l1 = new JLabel("Rupees");
l1.setBounds(20,40,60,30); //20,40,60,30
l2 = new JLabel("Dollars");
l2.setBounds(170,40,60,30); //170,40,60,30

t1 = new JTextField("0");
t1.setBounds(80,40,50,30); //80,40,50,30
t2 = new JTextField("0");
t2.setBounds(240,40,50,30); //240,40,50,30

b1 = new JButton("INR");
b1.setBounds(50,80,80,15); //50,80,60,15
b2 = new JButton("Dollar");
b2.setBounds(190,80,75,15); //190,80,60,15
b3 = new JButton("close");
b3.setBounds(130,130,75,30); //150,150,60,30

b1.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{

double d =Double.parseDouble(t1.getText());
double d1 = (d / 75.13);
String str1 = String.valueOf(d1);
t2.setText(str1);
}
});

b2.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
double d2 = Double.parseDouble(t2.getText());
double d3 = (d2 * 75.13);
String str2 = String.valueOf(d3);

7
AJP MICROPROJECT

t1.setText(str2);
}
});

b3.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
f.dispose();
}
});

f.addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
});

f.add(l1);
f.add(t1);
f.add(l2);
f.add(t2);
f.add(b1);
f.add(b2);
f.add(b3);

f.setLayout(null);
f.setSize(400,300);
f.setVisible(true);
}

public static void main(String args[])


{
Converter();
}
}

8
AJP MICROPROJECT

Output:
1.The Window displayed on running the program:

2.Converting from INR to Dollar, i.e., when INR button is clicked:

9
AJP MICROPROJECT

3. Converting from Dollar to INR, i.e., when Dollar button is clicked:

10
AJP MICROPROJECT

Conclusion:
The project involves a good knowledge of java
programming language. The developer will be able to
implement it easily as it doesn’t require any database and the
sourse code is also available for free. This project is very
affordable and useful for the people who are in
business,shares or finance. As it is a web-based program,it
will update automatically.

Reference:-
www.geeksforgeeks.com
www.javapoint.com

Thank You!!!!!....

11

You might also like