This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Refresh the LeftSide Jtable When Click On node in rightSide JTree Node Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "Refresh the LeftSide Jtable When Click On node in rightSide JTree Node" Watch "Refresh the LeftSide Jtable When Click On node in rightSide JTree Node" New topic
Author

Refresh the LeftSide Jtable When Click On node in rightSide JTree Node

Nanditha Parripati
Greenhorn

Joined: Jul 20, 2009
Posts: 12
Hi,

I am facing problem when i need to refresh the JTable data when i click on any of the node in JTree. Can Any one help me in solving the issue. I am Pasting the code below.
Swastik Dey
Ranch Hand

Joined: Jan 08, 2009
Posts: 1237

Use a DefaultTableModel to reset the data



Swastik
Nanditha Parripati
Greenhorn

Joined: Jul 20, 2009
Posts: 12
Hi,


Thanks a lot for your help.

Regards,
Nanditha.
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4389

I think this code is a bit overhead for the scjd assignment


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Refresh the LeftSide Jtable When Click On node in rightSide JTree Node
 
Similar Threads
How to set Images for the leaf nodes in the Jtree
JTable In JTree
Display Problem in JTable
JTable problem
DND from JTree to JTable