wood burning stoves*
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans JTable Binding - Retrieve data from selected rows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans JTable Binding - Retrieve data from selected rows" Watch "Netbeans JTable Binding - Retrieve data from selected rows" New topic
Author

Netbeans JTable Binding - Retrieve data from selected rows

Bill Hayes
Greenhorn

Joined: Sep 24, 2007
Posts: 24
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?
 
jQuery in Action, 2nd edition
 
subject: Netbeans JTable Binding - Retrieve data from selected rows
 
Similar Threads
JTable switching
JTable scrolling
Problem Updating Content Of JTable
Dynamically adding amount of objects in one jTable deppending on rows of another
Fill jTable with computed data