 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
David Holliday Guest
|
Posted: Tue Nov 11, 2003 4:29 am Post subject: Explorer like JTree? |
|
|
I have an application that looks much like MS Explorer. Tree on the left
and information about the selected node on the right. The problem is that I
would like to implement non-selected node context menus with node
highlighting like Explorer. For example in Explorer if tree node A is
selected and you right click on node B the tree will show node B as
highlighted, you will get node B's context menu, but the right hand pane
will not show the information for node B on the right (it's not really
selected). When the context menu is closed, the highlighting moves back to
node A and the right hand pane continues to show the information associated
with node A.
Currently, I display the context menu without changing the highlighting from
A to B and all works well.
I don't think that I want to modify the UI delegate because of look and feel
issues.
Has anyone implemented Explorer like behavior? Any ideas? Has anyone even
seen this done with a JTree?
Thanks,
-David
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|