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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Netbeans JTable Binding - Retrieve data from selected rows
 
Similar Threads
JTable scrolling
JTable switching
Dynamically adding amount of objects in one jTable deppending on rows of another
Problem Updating Content Of JTable
Fill jTable with computed data