1 | static JTree jtree_collapseAndOpenRootNode(final JTree tree) { |
2 | if (tree != null) swing { |
3 | TreePath rootPath = new(jDynamicTree_root(tree)); |
4 | tree.collapsePath(rootPath); |
5 | tree.expandPath(rootPath); |
6 | } |
7 | ret tree; |
8 | } |
Began life as a copy of #1020600
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021477 |
Snippet name: | jtree_collapseAndOpenRootNode |
Eternal ID of this version: | #1021477/1 |
Text MD5: | 2678d0ed2235c4e4730e335c247b101f |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-14 16:32:58 |
Source code size: | 233 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 276 / 303 |
Referenced in: | [show references] |