Essay Writer » Essay Blog » Java currency exchange GUI program using live rates

Java currency exchange GUI program using live rates

Topic:

We are designing an application (GIU) that takes a certain amount of one country’s currency and display the exchanged amount in another country’s currency in real time.

 

Requirement:

Requirement #Description
1The application will allow the user to select a country type listed (US Dollars, Euro, Indian Rupee, Australian Dollar, Canadian Dollar, Singapore Dollar, Japanese Yen, Chinese Yuan Renminbi, South African Rand, Brazilian Real) for currency getting exchanged from using a drop down list.
2The application will allow the user to select a country type listed (US Dollars, Euro, Indian Rupee, Australian Dollar, Canadian Dollar, Singapore Dollar, Japanese Yen, Chinese Yuan Renminbi, South African Rand, Brazilian Real) for currency getting exchanged to using a drop down list.
3The application will allow user to enter the amount of currency they want to exchange.
4The application will have a submit button to allow the exchange to happen.
5The application will calculate the exchanged currency using the database
6The database gets the real time information from the rate website https://www.x-rates.com/ (rates come from each individual country for instance https://www.x-rates.com/table/?from=USD&amount=1 )
7The database updates every minute, including after a conversion.
8The application displays the amount of exchanged currency rounded to the nearest cent (ex. $1.81), along with the exchange rate used.
9The application will allow the user to type a new amount or change the country and will display the new exchanged currency .
10Error will appear if the entered amount of currency is not a positive number i.e., letters, negative numbers, etc.
11The application will only allow amount entered to the hundredth decimal. If no decimal is used,“.00” is automatically added.
13The application will list the time of the last database update after conversion.
14If application does not have internet connection when first opened an error will display informing the user it is unable to update rates do to connection error. “Error no internet connection, unable to update rates”
15If unable to update exchange rates, the application will display an error message. “The data is not updated do to connection error, but used the previous data”
16Application will contain different classes such as

a.       GUI Class

b.      Conversion Class

c.       Database Fetch Class

d.      Error Class

 

  

 

 

GUI

EXAMPLES

 

 

 

 

Last Updated on February 12, 2019

Don`t copy text!
Scroll to Top