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

7
LINES

< > BotCompany Repo | #1025650 // jTree_hideRoot - hide root node. probably works only after filling tree

JavaX fragment (include)

static JTree jTree_hideRoot(JTree tree) {
  if (tree != null) swing {
    tree.expandRow(0);
    tree.setRootVisible(false);
  }
  ret tree;
}

Author comment

Began life as a copy of #1025649

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025650
Snippet name: jTree_hideRoot - hide root node. probably works only after filling tree
Eternal ID of this version: #1025650/3
Text MD5: 532487e4a1f42fb7b94134f687c8a8f2
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-12 17:52:43
Source code size: 148 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 181 / 210
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)