Choose a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software).

Create a class named after the product you have chosen that holds the item number, the name of the product, the number of units in stock, and the price of each unit. Make sure this class includes get and set methods for each of the attributes above.
For Example:
If your product is shoes, make your product class Shoe.java etc.

Important Note:
We are preparing to create a GUI class, so the command line features will start to go away, starting with data input. When you create your instance of your product class, just give it some hard coded values. Do not prompt the user for data.
Post your source code.

Check Point: Inventory Program Part 2
Resource: Java: How to Program Chapter 7, Programming Tip – Naming Conventions – Main Thread, Programming Tip – Arrays vs. ArrayLists – Main Thread.
Modify the Inventory Program so the application can handle multiple items. Use an ArrayList to store the items. DO NOT PROMPT USER FOR INPUT; initialize the array with hard coded values.
The output should display the information the first product in your ArrayList, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory of that product.
Create a method to calculate the value of the entire inventory. Call this method and display the results. (Hint: Use a loop to make your calculation.)
Create another method to sort the array items by the name of the product.
Post your source code.
2 files required:
Inventory.java
<Your Product Name>.java

Modify the Inventory Program by creating a subclass of the product class that uses one additional unique attribute of the product you chose (for example, if Movie is your product, you can create a subclass named ForiegnMovie with “country” as a unique attribute).
In the subclass, override the method to calculate the value of the inventory of a product with the same name and return type as the method previously created for the product class. The subclass override should add a 5% restocking fee to the value of the product.
Modify the output to display this additional attribute you have chosen and the restocking fee.

Resource: Java: How to Program Chapter 11, Naming Conventions – Main Thread.

Modify the Inventory Program to use a GUI by either
Adding a new class that extends JFrame (example in Chapter 11), or
By creating a new JDeskTop Application project.
Use an ArrayList or other automatically resizable collection instead of an Array to store your products.
The GUI should display the information of the first product in your collection, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory of that product.
In addition, the GUI should display the value of the entire inventory. Since this requires a loop of your collection, out this functionality in a separate method of your GUI class. This will allow you to call it only when updating the total is required.
At this point, all your main method should do is create an instance of your GUI class, set the Window size, setDefaultCloseOperation to EXIT_ON_CLOSE, start the GUI by calling it’s show method and get out of the way. (Desktop app will do this for you).
The Collection of products now belongs to the GUI class as a class level variable. This will allow all methods in the GUI class to have access to it.
If you use the Desktop Application, it will create a read-only method named initComponents. As you drag components to the screen, initialization code for them will be added to this method. The method is then called from your GUI constructor. Things you add manually, like your collection cannot go in this method. You need to initialize them in the constructor yourself.

Do not use a series of pop-up dialog boxes. A GUI is a single screen that gives you access to all of the applications functionality. Pop-ups can be used for prompts, and when needed to collect specific data. But if you need values for 4 variables, use a single pop-up with four fields, not one popup per variable.

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...