[SOLVED] CSE 271 Lab 10 Currency converter graphical interface

$25

File Name: CSE_271_Lab_10_Currency_converter_graphical_interface.zip
File Size: 499.26 KB

SKU: [Solved] CSE271-Lab10-Currency converter graphical interface Category: Tag:
5/5 - (1 vote)
file (7)

Write a program with a graphical interface that allows the user to convert an amount of money between U.S. dollars (USD), euros (EUR), and British pounds (GBP). You can model your GUI after online examples like Googles CC , XEs CC, or other examples.

The user interface must have the following elements (10 points, which includes the functionality and aesthetics):

Display a warning in either a label or a dialog box (link here) if the user does not choose different currencies. Clear this warning after a successful conversation/currency switch. You can check if they are similar on the conversion button press or on the initial selection of the same currencies. (5 points) Use the following conversion rates:

1 EUR is equal to 1.42 USD.

1 GBP is equal to 1.64 USD.

1 GBP is equal to 1.13 EUR.

Tips

Part 2 (15 points)

Write an application with a Colour menu, and three menu items labeled Red, Green, and Blue that change the background colour of a Panel in the center of the frame to Red, Green, or Blue, respectively. That is, the panel (colour) envelopes the entire frame.

(5 points)

  • Check the Swing API on your own to learn how to change the background colour of a Panel.
  • For full points (and best way of doing it), use a LOCAL INNER Class like we did in lecture

In addition, if the user mouse clicks anywhere in your Panel, have the background colour change/rotate to the next colour in the order of Red, Green, Blue. So, start your panel off as Red. If they click your panel while it is Red, it turns Green. Green goes to Blue. Blue goes to Red. (10 points)

Turn in a .zip of your src files to Canvas by the deadline, organized in your appropriate Java package. Ensure you have actually submitted (received confirmation and checked online), since no late labs will be accepted.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CSE 271 Lab 10 Currency converter graphical interface
$25