JTree node as a hyperlink in applet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anchal_Agarwal
Posted On:   Tuesday, October 7, 2003 03:19 AM

Hi,


I'm building a tree in applet using JTree. I want each node of the tree to be a link such that when the user clicks a node, the request goes to a servlet. Also, each node sends a unique key-value pair to the servlet so that the servlet knows which node was clicked. This means that each node has it's own unique url.


The response from the servlet is a page displayed in a different frame on the same window.


Can somebody suggest a solution to this problem?


Thanks in advance,

Anchal.

Re: JTree node as a hyperlink in applet

Posted By:   Anchal_Agarwal  
Posted On:   Tuesday, October 7, 2003 05:00 AM

Found solution to this problem. Need to use TreeSelectionListener.
About | Sitemap | Contact