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.
特定のノードのすべての子に 1 つの共通の境界線を作成する最も簡単な方法は何ですか?
最初の画像で確認できるコードがあります (独自の TreeRenderer を作成し、getTreeCellRendererComponentメソッドで境界線を追加しました)。2番目のものには、私が達成したい結果があります。
1.
2.