• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree and xml

 
Krithika Beri
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a very big xml file which i am parsing using DOM parser. Now I want that whenever I click on a node in the JTree, it should return to me the corresponding xml node so that i can make the required changes in that. Could you please tell me how to go about it
 
Paul Clapham
Sheriff
Pie
Posts: 20161
23
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean like in this Oracle tutorial? Constructing a User-Friendly JTree from a DOM
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic