AJP (1)
AJP (1)
INSTITUTE OF TECHNOLOGY
BUDHAGAON SANGALI
CERTIFICATE
This to certify that the Microproject entitled
By
Sr Roll
Enrollment no Exam no. Name of students
no. no.
Mr.Atharv Anandkumar
1 17 2100450101
Agalgave
2 18 2200450172 Mr. Varad Rajesh Walke
PVPIT BUDHGAON
PART A
In today’s global economy, the ability to convert currencies quickly and efficiently is essential
for travelers, businesses, and anyone engaged in international transactions. This Currency
Converter application, developed using Java's Abstract Window Toolkit (AWT), provides a
user-friendly interface to facilitate seamless currency conversion.
The aim of the Currency Converter project using AWT (Abstract Window Toolkit) is to create a
user-friendly application that enables users to convert currencies efficiently and accurately. The
application will feature an intuitive graphical user interface (GUI) designed with AWT
components, allowing users to easily input the amount they wish to convert and select from a
variety of source and target currencies. To enhance usability, the application will retrieve real-
time exchange rates, ensuring that conversions reflect the most current market values.
PVPIT BUDHGAON
1.4 Literature Review :
The proposed methodology for developing the Currency Converter application using AWT
involves several key stages. First, the project will begin with requirements gathering, where we
will identify user needs and specifications through surveys and interviews with potential users.
This phase will help determine essential features such as currency selection, input validation,
and real-time exchange rate updates.
Following this, the application will be designed with a focus on creating an intuitive graphical
user interface (GUI) using AWT components like buttons, text fields, and labels to enhance
usability. The next step will involve integrating an external API to retrieve real-time exchange
rates, ensuring the accuracy of conversions; this will also require parsing the data received from
the API and displaying it within the application.
After the core functionality is implemented, the application will undergo thorough testing,
including unit testing and user acceptance testing, to identify and resolve any issues or bugs.
Finally, documentation will be prepared to guide users in utilizing the application effectively,
and feedback will be gathered post-launch to inform future improvements. This systematic
approach aims to ensure a robust, user-friendly currency converter that meets the needs of its
users while adhering to best practices in software development.
PVPIT BUDHGAON
1.6 Resources Required:
PVPIT BUDHGAON
1.7 Action Plan:
PVPIT BUDHGAON
Part B
A micro - projectreport
Currency Converter Using AWT
Course Outcomes :-
Upon completing the Currency Converter project using AWT, students will achieve several
key outcomes that demonstrate their understanding and application of software development
principles. Firstly, students will gain proficiency in Java programming, particularly in using
the Abstract Window Toolkit (AWT) to create graphical user interfaces, enhancing their
ability to develop cross-platform applications. They will develop skills in integrating external
APIs to fetch real-time data, understanding the importance of accuracy in financial
applications. Additionally, students will learn best practices in user interface design, focusing
on creating intuitive and user-friendly layouts that improve the overall user experience. The
project will also provide practical experience in error handling and data validation, equipping
students with the ability to troubleshoot and resolve issues effectively. Furthermore, students
will cultivate project management skills through the structured approach of requirements
gathering, design, implementation, testing, and documentation. Ultimately, students will
emerge with a comprehensive understanding of software development processes and the
ability to create functional applications that address real-world problems, particularly in the
domain of currency conversion.
Literature Review
d. Introduction to Currency Conversion
e. Development of Currency Converter Applications
f. AWT in Java Applications
Actual Resources used:
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);
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);
}
Output:
1.The Window displayed on running the program:
2.Converting from INR to Dollar, i.e., when INR button is clicked:
Reference:
1. https://www.earthreminder.com/biomass-energy/
2. https://www.tandfonline.com/doi/full/
Teachers Evaluation Sheet
1 Project Proposal
2 Data Collection & Analysis
3 Preparation of Program
4 Preparation of Report
5 Presentation & Submission
Signature: