• Post Reply Bookmark Topic Watch Topic
  • New Topic

tree structure of folders  RSS feed

 
Neel Chowdhury
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I have been trying to make a good tree structure for my Electrical Distribution network. As I'm a beginner in JAVA programming I have done some code in JAVA with the help of different sites . can anyone please help me to create two "subfolder" of my Voltage level folder.
Thank you.
Here is the code

 
Chan Ag
Rancher
Posts: 1090
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Neel.

Welcome to CodeRanch.

Ranch Office is for questions related to Coderanch. I shall move this post to the appropriate forum where it should belong.

Oh yes, it's nice to see that you've used code tags correctly in your first post. :-)
 
Neel Chowdhury
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chan Ag wrote:Hi Neel.

Welcome to CodeRanch.

Ranch Office is for questions related to Coderanch. I shall move this post to the appropriate forum where it should belong.

Oh yes, it's nice to see that you've used code tags correctly in your first post. :-)


Thank you. Actually I didn't know that where to post.
 
Campbell Ritchie
Marshal
Posts: 56570
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome again

I can never remember how JTrees work. You would not create a folder there at all, but would display a node. I suggest you start in the Java® Tutorials.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!