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

  Write programs that read a line of input

Write programs that read a line of input as a string and input

  Write a java program to declare two integer variables

Write a Java program to declare two integer variables, one float variable, and one string variable and assign 10, 12.5, and "Java programming" to them respectively. Then display their values on the screen

  Loop structure

Suggest one (1) example of a problematic programming situation or scenario that the use or implementation of a loop structure could resolve. Justify your response

  How the wireless technology initiatives will change the way

How the wireless technology initiatives will change the way in which global voice, email, data exchange and message will be impacted in the years ahead.

  Instantiate a circle by giving its radius and use

Write a class Circle.java from which we can instantiate a circle by giving its radius and use it as is shown in the following program. 1 import java.util.Scanner; 2 public class Circles {

  Java graphics-write an application that extends jframe and

java graphics-write an application that extends jframe and that displays a phrase in every font size from 6 through

  Design an interface interactive game

First, design an interface InteractiveGame that generalizes the playing of any two-person game between a human player and the computer. Design two actual games, Nim and another game of your choice, except TicTacToe, that implement your Interactive..

  Design your own three-stage explicit runge-kutta method

Design your own three-stage explicit Runge-Kutta method with one-step error O(h^4) - Confirm that the global error in your numerical solution is O(h^3).

  Procedural programming and object-oriented programming

What are the similarities between procedural programming and object-oriented programming? What are the differences between procedural programming and object-oriented programming

  Develop an event based onetime password system

Develop an event based onetime password system - Implement a synchronization mechanism if the two apps get out of sync - build and test the UI components

  What is an array and how do you create one

What is an array and how do you create one? What is the name of the content provider for accessing media on the phone and on external storage devices?

  What advantages and disadvantages of ajax

Select and submit a Architectural Design Pattern; explain why you selected that particular pattern - What advantages and disadvantages of Ajax, JSON, XML

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