Update... I'm not sure how to update the table, so I'm just using the setValueAt methods from the TableModel object. Problem is my event code continues to run in a loop because I'm changing the table inside of my tableChanged event. Does anyone know how I can get this to work like I want to?
Hi Chris, If your table's data is going to be dynamic, I would stronly suggest that you write your own TableModel... it will give you a lot more control and I can assure you that it will be worth the additional effort. However, if you must use the array, this might work... 1. Don't put anything in the event handling code. 2. Change the values directly in the array. Then,
You should see the updated values in the table. Hope this helps. I will try and give a working example when I have the time. Regards, Abhik.