Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1016832 // jDynamicTree_addToNodeAndScroll

JavaX fragment (include)

static void jDynamicTree_addToNodeAndScroll(final JTree tree, fO node, fO child) {
  swing {
    DefaultMutableTreeNode childNode = jDynamicTree_addToNode(tree, node, child);
    if (childNode == null) ret;
    tree.scrollRectToVisible(tree.getPathBounds(new TreePath(childNode.getPath())));
  }
}

Author comment

Began life as a copy of #1016827

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016832
Snippet name: jDynamicTree_addToNodeAndScroll
Eternal ID of this version: #1016832/1
Text MD5: a29a10eb7972dcc07f1ed6ab9a27cec3
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-04 01:57:46
Source code size: 303 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 261 / 301
Referenced in: [show references]