Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Tree Action

843844Mar 4 2007 — edited Mar 4 2007
plzz help i have a big problem to make a tree that will simulate a remote computer HDD,i just call a methods from the server which will give me the details of the HDD.

like getAllDrivers() will return string which contains the drivers " c:\\,d:\\"
getAllFolder() return string with all folder ... etc

the problem that i have an empty tree at first and after calling getAllDrivers() i can put i new nodes in the tree but how can i make an action for this node() to getAllFiles() for any node which represent Drive.

can i use this method??
newNode.setActionListener(actionListener) , but i don't know what kind of paramters does it takes !!!

Message was edited by:
HoBa
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2007
Added on Mar 4 2007
3 comments
78 views