Hi all,
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 :
1178,4.52,10
1295,1.75,30
1299,14.82,20
1384,9.82,50
1471,2.50,100
1502,3.82,60
1532,9.87,15