build a java GUI

Job ID: 33728415

Budget: $10 – $30 USD

It's about building a currency converter. The size of the window is (550,120).
Each “JComboBox” drop-down menu contains the following currencies (RiyalSA, DollarAM, EuroEU).
- When the “Convert” button is pressed, the amount written in the left “JTextField” must be converted and displayed in the right “JTextField” while respecting the currencies selected on both sides. Also, if the converstion is maded, the operation should be stored int a File "File1.txt" with the following format:
"Amount1 Currency1 = result Currency2"
When the same currency is selected on both sides or when the left "JTextField" is empty, an error message in a dialog box should appear. - The "Reset" button is used to initialize the different components of the interface.
- The "Historic" button allow to show all previous converstion maded by your application. In fact, a new Frame will appear and the content of the file "File" will be displayed into a "JTextArear" , Question: Write the Java code able to define this requirments.

Remarque:
- All the message dialog are the catch results of exceptions. You need to define all the necessary Java Exceptions.
- The currency rates:
o riyal to euro: 0.25 euro to riyal: 4.05
o riyal to dollar: 0.266 dollar to riyal: 3.75
o dollar to euro: 0.92 euro to dollar: 1.08