FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Creating an Explorer TopComponent Tree from a DB

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
etfink@yahoo.com



Joined: 04 Nov 2009
Posts: 1

PostPosted: Wed Nov 04, 2009 3:08 am    Post subject: Creating an Explorer TopComponent Tree from a DB Reply with quote

I'm looking for any examples/resources/help in creating an Explorer component that lists hierarchical nodes from a database. This is something I would normally use a TreeNode for in Swing.

I have a database with ~ 9k hierarchical items (Units) stored as an adjacency list model (unit_id, parent_unit_id) that I am retrieving using JPA as POJO's and would like to show in a tree. When I click on a node I want to edit the Unit's detail in the editor pane.

I have had a problem finding examples of this use case and I can't imagine its not common. Any help would be appreciated.

Thank you
Eric
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB