This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help on Jtrees

 
Mirina PC
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i need help with JTrees.. I have deitel's Java how to program 4th ed, but it does not hyave any discussion on JTrees.. Please help.. The specs of the tree i have to create are it has to be a three-level tree, the third level consists only of leaf nodes, the second level consists only of folders, the first level consists only of the root node.. how do i code this?? thanks
[ October 02, 2004: Message edited by: Mirina PC ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mirina,

Welcome to JavaRanch!

First, a little business: we have a naming policy here at the Ranch; it says that your display name has to be a real first and last name. You can change yours here. Thanks!

Now, as to your question: Sun's Java tutorial has tons of information about trees; see here. Reading that page and trying the demos would be a good start.

Finally, we've got a whole forum dedicated to Swing and its cousins; the folks there will be able to help you with your JTree questions. So I'll move this thread there.
[ October 02, 2004: Message edited by: Ernest Friedman-Hill ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic