From: Timothy W. <tw...@us...> - 2005-02-04 13:44:35
|
nodes in a JTree are not components. use a TreePath to select a particular path; in a script you can refer to a path like "[root, parent, child]"; first make the path visible, then you can perform some action on it. for example: actionMakeVisible("treeid", "[root, parent, child]") actionShowPopupMenu("treeid", "[root, parent, child]") On Feb 4, 2005, at 12:53 AM, SourceForge.net wrote: > > Read and respond to this message at: > https://sourceforge.net/forum/message.php?msg_id=2977517 > By: yogesh23 > > hi > as abbot only takes reference of Jtree > and for refering the node it takes path from room to the node but i > want to > access node as a component and i m not able to get the component > reference of > the node of Jtree > > cxan any body help me on it > thanks > > > ______________________________________________________________________ > You are receiving this email because you elected to monitor this forum. > To stop monitoring this forum, login to SourceForge.net and visit: > https://sourceforge.net/forum/unmonitor.php?forum_id=168262 > |