0% found this document useful (0 votes)
131 views10 pages

Java Global Currency Converter Project

The document describes a currency conversion application that allows users to easily convert amounts between different currencies. It utilizes Java and a GUI to provide a user-friendly interface with real-time conversion rates from an external API. The application is designed to be accurate, reliable and meet users' currency conversion needs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views10 pages

Java Global Currency Converter Project

The document describes a currency conversion application that allows users to easily convert amounts between different currencies. It utilizes Java and a GUI to provide a user-friendly interface with real-time conversion rates from an external API. The application is designed to be accurate, reliable and meet users' currency conversion needs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Globa

l
Curre
ncy
School: Computing
Academic year: 2023-2024

Conv
Submitted To : [Link] jain
Name of the students : Ch. Lakshmi Mani Mala Register No : 23102A010382
y. Geethanjali 23102A010381
s. komal 23102A010422

erter
sk. Rihana 23102A010401
M. Thanaya sree 23102A010405
Course code & Title: Object oriented Section : B_6
programing Java-
22AI1040002
Program [Link]., Branch CSE(AI&ML)

Semester : IIndsemester
ACKNOWLEGEMENT

We would like to thank Mr. [Link] SIR our Professor-in-charge and our mentor,
Arpita Jain for their support and guidance in completing our project on the topic
(currency convertor). It was a great learning experience.

I would like to take this opportunity to express my gratitude to all of my group members
[Link] Mani Mala,[Link],[Link],[Link] and [Link] [Link]
project would not have been successful without their cooperation and inputs.
ABSTRACT
The purpose of the Global Currency Converter is to provide a user-friendly graphical
interface that allows users to easily convert amounts between different currencies. It aims to
support a wide range of currencies, offering real-time conversion rates to ensure accuracy in
financial planning, travel, business transactions, and educational purposes. context of
globalization, where financial transactions and international travel have become
commonplace, the need for an accurate, reliable, and easy-to-use currency conversion tool
is more pronounced than ever. This project aims to address this need by delivering a
software application that integrates real-time currency exchange rates for a wide range of
global currencies, including crypto currencies.

Utilizing Java as the core programming language, the project leverages the robustness of
Swing or Java FX for the graphical user interface (GUI), ensuring a seamless and intuitive
user experience. The application is designed to fetch live currency data from a reliable
third-party API, providing users with the most current exchange rates available. Key
features of the application include the ability to convert between multiple currencies,
access a history of conversion queries, and save frequently used currency pairs as favorites
for quick access.

The development process is structured into four main phases: requirement analysis and
design, development, testing and deployment, and maintenance. Each phase is meticulously
planned to ensure that the project meets its objectives of accuracy, reliability, and user
satisfaction.

In conclusion, the Global Currency Converter project represents a practical tool aimed at
individuals and businesses alike, facilitating effortless currency conversions with up-to-
date information. By combining a straightforward user interface with powerful backend
functionality, this project aspires to become an indispensable resource for anyone looking
for quick and accurate currency conversions.
SYSTEM REQUIREMENTS

The hardware and software specification specifies the minimum hardware and software required
to run the project. The hardware configuration specified below is not by any means the optimal
hardware requirements. The software specification given below is just the minimum
requirements, and the performance of the system may be slow on such system.

Hardware Requirements

 System : Pentium IV 2.4 GHz


 Hard Disk : 40 GB
 Floppy Drive : 1.44 MB
 Monitor : 15 VGA color
 Mouse : Logitech.
 Keyboard : 110 keys enhanced
 RAM : 256 MB

Software Requirements

 Operating System : Windows


 Language : Java
 JDK version :8+
 IDE :Eclipse or visual studio code

FLOW CHART-CURRENCY CONVERTOR


CODE
import [Link].*;
import [Link].*;
import [Link];
import [Link];

public class CurrencyConverter extends JFrame {

private JComboBox<String> currencyFrom;


private JComboBox<String> currencyTo;
private JTextField amountField;
private JButton convertButton;
private JLabel resultLabel;

public CurrencyConverter() {
setTitle("Global Currency Converter");
setSize(400, 200);
setLocationRelativeTo(null);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setLayout(new GridLayout(5, 2, 10, 10));

addComponents();
addEventHandlers();
}

private void addComponents() {


currencyFrom = new JComboBox<>(new String[]{"USD", "EUR", "JPY", "GBP",
"AUD"});
currencyTo = new JComboBox<>(new String[]{"USD", "EUR", "JPY", "GBP", "AUD"});
amountField = new JTextField();
convertButton = new JButton("Convert");
resultLabel = new JLabel("Result will appear here");

add(new JLabel("From:"));
add(currencyFrom);
add(new JLabel("To:"));
add(currencyTo);
add(new JLabel("Amount:"));
add(amountField);
add(convertButton);
add(resultLabel);
}

private void addEventHandlers() {


[Link](new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
performConversion();
}
});
}

private void performConversion() {


// Placeholder for conversion logic
// Here you would call your currency conversion API to get the rate
// For demonstration, we'll pretend it always returns a fixed rate

String fromCurrency = [Link]().toString();


String toCurrency = [Link]().toString();
double amount = [Link]([Link]());
double rate = 0.85; // Pretend conversion rate
double result = amount * rate;

[Link]([Link]("%.2f %s = %.2f %s", amount, fromCurrency, result,


toCurrency));
}

public static void main(String[] args) {


[Link](new Runnable() {
@Override
public void run() {
new CurrencyConverter().setVisible(true);
}
});
}
}

SCREEN SHORT :
CONCLUSION
The Global Currency Converter aims to be a practical tool for anyone needing quick and
accurate currency conversions. By focusing on user experience and leveraging real-time data,
this application seeks to distinguish itself in its reliability and ease of use.
This document serves as a foundation for the project and will guide its development from
conception to deployment, ensuring a structured approach to creating a valuable software tool.

Common questions

Powered by AI

Using Java and Swing or Java FX in the Global Currency Converter application offers several advantages: Java provides platform independence, allowing the application to run on various operating systems. Swing and Java FX offer powerful tools for creating a robust graphical user interface (GUI), enhancing user interaction with the application. These frameworks allow for the implementation of complex UI components and layouts, which contribute to a seamless and intuitive user experience. Java's strong community support and extensive libraries facilitate the integration of external APIs for real-time data fetching, crucial for the application's functionality .

The Global Currency Converter project manages real-time data retrieval by integrating a third-party API that provides live currency exchange rates, ensuring the application displays accurate and up-to-date information. This data is retrieved during the conversion process when the user selects currencies and inputs amounts. For user interface updates, the project utilizes Java's Swing or Java FX to create a responsive GUI. Event-driven programming is employed, where user actions like button clicks trigger functions that fetch data and update the interface accordingly, thereby maintaining a seamless user experience .

The Global Currency Converter project demonstrates important lessons about teamwork and collaboration, such as the necessity of clear communication and the division of roles based on team member strengths. The acknowledgment section highlights the importance of cooperation and input from all members for a successful project outcome. By working together under the guidance of mentors, the team was able to effectively coordinate each phase of the project, from requirement analysis to testing, ensuring a comprehensive and well-implemented application .

The project structure of the Global Currency Converter is divided into four main phases: requirement analysis and design, development, testing and deployment, and maintenance. This systematic approach ensures each development stage is carefully planned and executed, contributing to the tool's reliability. The initial phase focuses on understanding user needs and defining specifications, which guide the development of a user-friendly GUI. Rigorous testing identifies and resolves issues before deployment, and ongoing maintenance ensures the tool remains updated and relevant, reinforcing both reliability and user satisfaction .

The integration of user-saved currency pairs as favorites enhances the user experience by allowing quick access to frequently used conversions, which saves time and simplifies the conversion process for users. This feature caters to specific user needs, such as businesses needing regular updates on certain currency pairs or travelers frequently converting the same currencies. By offering personalized functionality, the application becomes more efficient and convenient, thereby increasing satisfaction and loyalty among users who rely on the tool for regular currency conversions .

The Global Currency Converter project reflects the impact of globalization on software applications by addressing the increased need for accurate and reliable currency conversions due to international travel and global financial transactions. By supporting a wide range of currencies, including cryptocurrencies, and providing real-time conversion rates, the application caters to diverse user needs worldwide. The integration of a third-party API for live rates further exemplifies how global data sources are utilized to enhance functionality and user experience in modern software solutions .

Running the Global Currency Converter on a system with a Pentium IV processor and 256 MB RAM may lead to performance issues such as slow processing times and limited multitasking capabilities. These challenges can be mitigated by optimizing the Java code to reduce resource usage, such as limiting the number of concurrent processes and careful management of memory allocation. Additionally, users can consider upgrading hardware components like memory to at least 512 MB or higher to improve overall performance .

Setting a fixed conversion rate in the demonstration code of the Global Currency Converter simplifies the testing and development process by providing a controlled environment to verify the application's logic and interface without requiring real-time data access. The primary benefit is ease of development and debugging. However, the drawback is that it does not reflect real-world usage where dynamic rates are necessary, which can lead to potential misjudgment of the application's performance and accuracy when integrated with live data. It's essential to later replace fixed rates with real-time data for comprehensive testing .

The main objectives of the Global Currency Converter project are to provide a user-friendly interface that allows for easy currency conversion, support a wide range of currencies including cryptocurrencies, and offer real-time conversion rates to ensure accuracy. These objectives are achieved by integrating live data from a reliable third-party API, utilizing Java for the backend, and implementing Swing or Java FX for creating an intuitive GUI. The project is structured in four phases: requirement analysis and design, development, testing and deployment, and maintenance, ensuring each objective is met through meticulous planning and execution .

The design of the Global Currency Converter ensures usability by implementing a straightforward graphical user interface (GUI) using Java's Swing or Java FX, making it accessible for users of varying technical skills. Accuracy is ensured by integrating real-time data from a reliable third-party API, providing up-to-date exchange rates. The conversion process involves selecting currencies, entering an amount, and executing the conversion through event-driven programming. This design supports a history of conversions and allows users to save frequently used currency pairs, facilitating quick and precise operations .

You might also like