• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help on Jtrees

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Yeah, but is it art? What do you think tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic