• Post Reply Bookmark Topic Watch Topic
  • New Topic

help me to write this code

 
Hutch Hutch
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

I am writing a code in Swings. Let me explain the sitation:

In my application there are 5 Buttons. Each button has its own functionality. In this application if I click a button name "Tree", then it should show me the tree structure of the application. For example if there are 5 Managers and 10 Subordinates working in a company. Each manager can handle 10 persons. Now if click on any manager then i should get the details of the manager as well as list of all subordinates working under that particular manager.

Now i have identified that using the Tree functionality in java can solve my problem.

Please help to create such code.

Else please suggest me any other topic in java can help me to create tree structure.


thanks in advance.....
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello "Hutch Hutch"-

Welcome to JavaRanch.

On your way in you may have missed that JavaRanch has a policy on display names, and yours does not comply with it; specifically, a first name and a last name are required. Please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in your other post
http://www.coderanch.com/forums/

you were pointed to the tutorial (and a hint re the only rule here), which
should have started you towards a solution.

post what you've tried, explain what doesn't work, and, for a law-abidin' citizen,
we'll try to nudge you in the right direction
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!