posted 16 years ago
First off, I'm working in Netbeans on a Swing application using Toplink and binding.
I have all my entities set up and am able to bind to them using various components including text fields and tables. I am performing the binding by using the Netbeans GUI tools.
I have a JTable, jtable1 that is bound to one of my database tables. I have a second JTable, jtable2 that is bound to jtable1 selectedElements. I want to take the data from jtable2 and put it into a collection so I can sort and perform some calculations. Do I need to iterate over the selected rows or is there an easy way of returning jtable2 data as a collection?