The assignment

EuroConvert, a multinational company, wants you to implement the GUI for a Currency Converter. The tool is to be used on the desktop for simple conversions between three currencies, dollar, sterling and Euro. They have already been in discussions with their graphic design team, and have provided you with this picture of how they want the finished product to look.

If you can't see this , you can't do the assignment

Figure 1: You must implement this design as best as you can

Suggested Approach

Just as we saw with the Windows Calculator, it is best to divide and conquer when creating applications such as this. There are 4 components you need to look at here. A JMenu, A JPanel titled InputOutput with a colored border, A JPanel titled ConversionButtons with a colored border, and finally a Jpanel titled Created By with a black border. Update: If you can make it look better/prettier, you are more than welcome, just make sure you have all the components etc

You should develop these pieces one at a time, as we did in lectures. If you don't know how to make a JLabel have red text, then try using Google. You are free (and expected) to surf the web to find the necessary info, any detected plagiarism will, however result in a mark of 0% and a meeting with Academic Council.

Finally , don't get hung up on little intricacies, concentrate on getting three panels up there, with buttons etc. Then when you have all the basics done, worry about things like Color, Font, Titled Borders , etc. As the links may suggest, we expect you to solve your own problems here.

Downloads Available

Why Bother?

Good Question. You should bother to do this, as it demonstrates your ability to develop GUI Programs. It will force you to learn concepts that you otherwise wouldn't have bothered learning. Companies and Interviewers will expect you to know how to do this stuff, this is your chance to learn it, and be confident in your ability. This lab covers JFrames, JPanels, JMenus,JLabels, JTextfields, JButtons, JBorders, and more.

Submissions

By Email. Please note, you must have CS211 as the subject line for me to record your submission. A lot of you seem to have trouble grasping this concept. Just make sure the subject line has "CS211" without spaces in it somewhere.

  1. Alan J. Nugent
  2. Conor Meehan
  3. Caoimhe E. O Connor
  4. Andrew D. Holmes
  5. Stephen Fahey
  6. Tom Creed
  7. Deirdre A. Wall
  8. Brendan P. Fitzpatrick
  9. Ge Lin
  10. Keith Quille
  11. Laura Cunningham
  12. Richard O Reilly
  13. NAJEMEDDIN OMAR RUGHAEI
  14. Karen Farrell
  15. Emma Walsh
  16. Therese Holton
  17. Susan Kennedy
  18. Eoin C. Carroll
  19. Belinda Hamilton
  20. Mary Cullen
  21. Fiona Doyle
  22. Elaine M. Smith
  23. Jerome "no spaces" Counihan
  24. Ciaran "ldconfig oops" Power
  25. Ailin Mac Aodha
  26. David Bolger
  27. Rory Tierney
  28. Oisin O Malley
  29. Nicola "no trains" Byrne

Submissions are now closed