This java project is made by using Java2SDK 1.4.2 but the program can be interpreted by any version of J2SDK from 1.2 to higher. The project contains following classes, which are described briefly along with their functionality.
1. Item class: This class is capable of holding item name, quantity, price and have setter setter and getter methods for storing and retrieving correct data in these instance variables.
Some utility methods like getStockValue() and getNeededItems() are also there to return the over all value of the stock and the list of needed items respectively.
3. ShopKeeper class: This class gives the overall graphical user interface to the client so that the client can access both StockTake and Item classes in order to manipulate Items. This class uses some more user-defined classes to construct the GUI. The classes are: