Find Jobs
Hire Freelancers

A Currency Converter

£20-250 GBP

Cancelled
Posted over 8 years ago

£20-250 GBP

Paid on delivery
A Currency Converter Application The application you develop shall enable the user to easily convert money between British Pound and Euro. The graphical user interface shall consist of a single window with a menubar. Approximately at the centre of the window should be a label that shows a number (which may include a decimal point), e.g. 22.5. We call this the money label. Below the label the window shall contain buttons for the digits 0 to 9, the decimal point \.", a button for deleting the rightmost symbol of the label (digit or decimal point), and a button for resetting the money label to 0. These buttons should be arranged similarly to the number block of an ATM. So by clicking these buttons the user can change the money label. Note that the money label should not take any input from the computer keyboard. When the program starts, the money label shall be 0. Additionally, above the money label, the window shall contain two buttons, one for each currency, British Pound and Euro. At any time exactly one of these two buttons is selected. At program start the British Pound button shall be selected. When the user changes the selection to the other button, the amount in the money label is converted from the previously selected currency into the newly selected currency. The menubar comprises three menus: File, Currency and Help. The File menu has only one option, quitting the application. The Currency menu lists the two currencies British Pound and Euro. It provides an alternative means for choosing the currency. The Help menu provides a Help entry, which shows on selection a dialogue box with some basic use instructions, and an About entry, which shows on selection in a dialogue box the name of the programmer. The application window should have a reasonable layout, even when the user changes its size. Enforce a reasonable minimal size of the window. Implementation Requirements: The program shall consist of at least three classes: 1. A class ConverterGUI implements the graphical user interface. The object controls the whole application. 2.  A class FloatInput implements the content of the money label. Its methods translate key inputs to a string and a floating point number (e.g. the key inputs 7, . and 2 are translated into the string "7.2" and number 7.2). Note that this class is independent of the GUI; it could be used also if the currency converter did take input from a hardware keyboard.  A class Money implements the actual conversion between currencies. At runtime there should exist one object of each class. The ConverterGUI object will reference the other two objects. You may decide to use additional classes for other purposes. The constructor of the ConverterGUI class shall take a double parameter, which is the exchange rate between the two currencies. That is, this parameter states the current value of 1 GBP in Euro. Ensure that every class and every method comes with a JavaDoc comment, which brie y describes its purpose and the purpose of arguments and return values (for meth- ods). For some states of the application some inputs make no sense. For example, if the money label contains a number that has a decimal point, then a second decimal point makes no sense. Also the money label should never have leading zeros, that is, something like 0004.30. For easy usability, ensure that the user cannot select a button or menu item that does not make sense for the current state of the application. The application shall avoid any money amount with more than two digits after the decimal point. First, that means that conversion always rounds the result to at most two digits after the decimal point. Second, the user may enter any number into the money label, but if the number has more than two digits after the decimal point, then conversion should raise an exception. The user interface should catch this exception, display an appropriate error message, and continue without performing the conversion or otherwise changing the money label.
Project ID: 8227383

About the project

8 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
8 freelancers are bidding on average £133 GBP for this job
User Avatar
I have 9+ years of exp in java j2ee hibernate spring webservices databases. Done multiple projects like this and almost proficient in design patterns..Checkout my reviews, all projects were completed successfully.
£66 GBP in 2 days
5.0 (132 reviews)
8.0
8.0
User Avatar
Hi, I have read the requirements and I would like to do this project if given the opportunity. I am a computer science practitioner and having the "Java and Algorithms" badge makes me confident that I can deliver this project as required. Let me know if you are interested so I can have further details besides what is posted. Thanks.
£30 GBP in 1 day
5.0 (1072 reviews)
7.6
7.6
User Avatar
Hi, I have strong background in JAVA and experience in Programming. Let me help you. I am ready to start.
£222 GBP in 5 days
4.8 (86 reviews)
6.0
6.0
User Avatar
I am an undergraduate in Computer Science and Engineering. I can do this for you. Feel free to contact. Thanks.
£50 GBP in 3 days
4.9 (5 reviews)
3.6
3.6
User Avatar
I have 8 years of experience with java, I've worked with currency convertions in previous jobs I had.
£88 GBP in 5 days
4.2 (1 review)
2.6
2.6
User Avatar
I am a freelancer and software engineer for past 10 years. I can do it for you in short span of time.
£160 GBP in 3 days
3.8 (1 review)
2.0
2.0
User Avatar
Senior software engineer with rich experience in Java and GUI (Java Swing). The requirement is pretty clear. I'm able to deliver you the software with code quickly.
£222 GBP in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have 15+ years of experience in IT industry. Developed applications in Java, J2ee, Hibernate, Spring etc....Able to do this project
£222 GBP in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
London, United Kingdom
5.0
13
Payment method verified
Member since Aug 7, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.