Develop a gui application to manage product file

Assignment Help JAVA Programming
Reference no: EM132223726

Assignment: GUI Design, data validation, exception handling and Text I/O

Description: Develop a GUI application to manage product file.

For each product following information is kept:
- Product id (integer and unique)
- Product name
- Product price (double and positive)
- Quantity on hand (integer)
User should be able to perform the following operations:
- Add new product, only if all the valid information is provided
- Modify existing product using product id
Grading: The application will be evaluated based upon the following criteria:
- GUI Design
o Designed using suitable GUI controls i.e. labels, text boxes and buttons
o Menu/Menu options are provided for most operations
o Access keys are implemented for most of the GUI controls
- Text File I/O
o Adding new product
o Modify existing product using product id
- Data validation
o Provided the needed data validation and proper feedback to the user

Hint: For the best implementation create and use the following classes:
- Design the GUI as it was done in class activity
- Product Class
o Add all the attributes
o Add all the set/get methods with the data validation
o Provide default as well as parametrized constructors
o Override toString method to return the string representation of the product class
o Override equals method to compare the two products are equal if id is same
- ProductDB Class
o Attribute for the file name and arraylist
o Add all the set/get methods
o Implement Singleton design pattern (optional)
o Provide method to add a product passed to it to the arraylist (call this method with the Add product button)
o Provide method to find a product from the arraylist using product id (call this method with the find product button)
o Save method to save the arraylist to the file (call this method with the Save menu option)
o Load method to load the data from the file to arraylist (call this method with the Load menu option)

Reference no: EM132223726

Questions Cloud

Describe the demographic data for the students : Describe the demographic data for the students in your cooperating classroom. Include grade levels and content areas, total number of students
Develop an original IT solution to a real problem : Introduction - The requirement of the project is to develop an original IT solution to a real problem for a specified client
Simulates a simple money manager : ITECH1400 – Foundations of Programming - Money Manager - Creating an application that uses a GUI that simulates a simple money manager
Discuss what are the key features of the report format : Discuss what are the key features of the report format, refer to the sample report in your discussion. Give an example of Simpsons Paradox
Develop a gui application to manage product file : Develop a GUI application to manage product file - Provided the needed data validation and proper feedback to the user
Discuss Thawing permafrost in Canada Northwest Territories : Need 650 words journal to include following: Global swarming: Infectious diseases and climate change and Thawing permafrost in Canada's Northwest Territories
How do you think marketers use ritual situations : How do you think marketers use ritual situations? How can your product use a ritual situation to market their product.
Element was missing from his monitoring and control system : During implementation of a major project, Fu, What critical element was missing from his monitoring and control system?
How death of a newborn illustrates Carper ways of knowing : Discuss how the "death of a newborn" illustrates Carper's four ways of knowing (Empirical, Aesthetic, Personal, and Ethical Knowledge)

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