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

5
LINES

< > BotCompany Repo | #1021475 // jTree_setRootObject

JavaX fragment (include)

svoid jTree_setRootObject(final JTree tree, fO root) {
  if (tree != null) swing {
    ((DefaultTreeModel) tree.getModel()).setRoot(jTree_defaultNode_withDummyChild(root));
  }
}

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: #1021475
Snippet name: jTree_setRootObject
Eternal ID of this version: #1021475/5
Text MD5: a830b9e437d25467716f827f17690c59
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:31:57
Source code size: 182 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 281 / 314
Version history: 4 change(s)
Referenced in: [show references]