This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hello world, I am hoping to write a stock controlling program. In that, I have a function to print a bill. Which the user can add items to the bill with the quantyties... I am doing this in 'SWING' and I am using the JTable class to show the bill. Means that it has columns such as 'items code', qty, price per uni and subtotal etc.. In my program I have the options of deleting an entry in the bill, undo an entry redo an entry, edit an entry(say you entere 10 pieces for 1 piece accidentally and you want to crrect it.) So far what I did was having the entries in an 2D array and messing with it. It is really hard and results in unexpected erros. Please do advice me a good solution to corp these needs. Thanks. More descriptive answeres are very much welcome.
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)