Build a gui based program in java

Assignment Help JAVA Programming
Reference no: EM131973919

Object Oriented Design and Programming Assignment

The purpose of this assignment is to practice building a GUI based program in Java, to use HashMaps and file IO. This assignment continues the scenario from assignment 1.

Standard Level

Your program will provide a swing based GUI that allows a user to:

1. Issue a new card (basic or multi)
2. Load a card with AUD
3. Convert AUD to another currency (MultiCard only)
4. Make a purchase
5. Show a selected card's balance/balances and overall value
6. Show a selected card's purchase history
7. Show a selected card's total spend in each country
8. Show the total value of all cards
9. Show the total amount of each currency in all cards
10. Show the total amount spent in each country
11. Show the list of all cards (id, name, value) in created order / value order

Your program will also support storage of Card data into and out-of a text file. In a real system a database would be used. Here we wish to practise file IO. When a database is used the record data would be normalised into separate card and purchase tables. Here we want an easy way to store then load card data which for each card will include its purchase history (which will not be normalised).

An example text file card record is:

BC,C001,Fred,500,2,20180130,Australia,AUD,35,Food, 20180201,Australia,AUD,12.5,Food This record has two main parts:

Part 1: BC,C001,Fred,500,2

BC a basic card C001 the card id Fred the card name
500 the balance for the basic card
2 the number of purchases made

Part 2: 20180130,Australia,AUD,35,Food, 20180201,Australia,AUD,12.5,Food Two purchase records in the format: date, location, currency, amount, and description

The above format does not have a fixed number of fields per line, as the number of comma delimited fields depends on the number of purchases a card has made.

Where appropriate your program will use a HashMap to aggregate data and to store currency tables (rather than using a 2D array or co-ordinated array as in assignment 1). Your program will use the appropriate sort methods for sorting cards (in GUI requirement 11).

Students who wish to submit and advanced assignment must ensure that have already met all the standard requirements. That is, the advanced features will only be marked after ensuring that all standard requirements have been met.

Reference no: EM131973919

Questions Cloud

Workforce skill and availability : Explain why it may be more efficient for a company to utilize an RDBMS based on workforce skill and availability.
Topic materials or relevant industry examples : Justify your ideas with support from the Topic Materials or relevant industry examples.
Prepare a procedure named bitwisemultiply : Prepare a procedure named BitwiseMultiply that multiplies any unsinged 32-bit integer by EAX, using only sifting and addition.
Choice of converting a measurement : Make a program that displays a measurement in either inches or centimeters. The program should allow the user the choice of converting a measurement
Build a gui based program in java : The purpose of this assignment is to practice building a GUI based program in Java, to use HashMaps and file IO.
Displays the gross pay for one or more employees : Make a program that displays the gross pay for one or more employees. The program should allow the user to enter the number of hours the employee worked
How the sarbanes-oxley act has affected auditing : Assess how the Sarbanes-Oxley Act has affected auditing. Evaluate objectives for conducting audits, and compare management's and auditors' responsibilities.
Satellite-based navigation application : How would the principles and processes of object-oriented analysis and design apply to the Satellite-Based Navigation application using any format?
What do you think are the major advantages of 10miles : (1) What do you think are the major advantages of 10Miles? (2) What do you think are the major weaknesses of 10Miles?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd