static JTree jtree_collapseAndOpenRootNode(final JTree tree) { if (tree != null) swing { TreePath rootPath = new(jDynamicTree_root(tree)); tree.collapsePath(rootPath); tree.expandPath(rootPath); } ret tree; }
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: | 277 / 303 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |