简体   繁体   中英

How can i access the subnode in Jtree

任何人都可以帮助我,我有Jtree和Subnode,我想单击子节点并使用NetBeans在Java中显示一个窗口形式。

You can achieve this by using a tree selection listener. Look at How to Use Trees tutorial. In particular, Responding to Node Selection section describes how to implement a basic selection listener.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM