aspose file tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply 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?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Netbeans JTable Binding - Retrieve data from selected rows
 
Similar Threads
JTable scrolling
JTable switching
Fill jTable with computed data
Dynamically adding amount of objects in one jTable deppending on rows of another
Problem Updating Content Of JTable