Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 JTree 中隐藏中间节点并显示父节点和子节点?
例如:我有一棵树 A | 乙| C
但我想将其显示为 A | C,
我想隐藏一些像B这样的中间节点。请帮帮我。