I have to build an interactive program that reads in the information about the Inventory objects from the file Inventory.txt into an array of Inventory objects.
I complied my Inventory.java program,it is working fine. I am not able to read the data from Inventory.txt to the FinalExam class.
For example if I type the product code as 1178,and press lookup button then the price(prints 4.52), QuantityOnHand(prints 10) and status(found) should be dispalyed on the frame.
Help me out. I am trying this out from 2 days.
My Inventory.txt :