Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JTree and Jtable : explorer look and feel/ drag and drop/ update database

843806Jul 15 2009 — edited Jul 16 2009
Hello,

A typical problem , I am trying to achive couple of things and leading nowhere so far:

1. Design a interface displaying jtree on left hand side and jtable on right hand side of panel. Data is to be fetched from database.
2. On click of the node on Jtree, display the related details on jtable on right hand pane ( its like displaying files details in windows explorer on selecting the folder).
3. allow user to drag any item from the Jtable and drop over the node ( which in turn should add the row on the right hand table display for the respective node selected for drop).
4. Update the node details in database.

I have spent more than 12 hrs exploring various tutorials to achive this but BADLY stuck with the approach. Need URGENT help!!

Thanks,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 13 2009
Added on Jul 15 2009
6 comments
738 views