Download Jar. Uses 3874K of libraries. Click here for Pure Java version (5018L/36K).
1 | !7 |
2 | |
3 | static int n = 3; |
4 | |
5 | p-subst { |
6 | swingBiggerFonts(); |
7 | |
8 | final JTree tree; |
9 | tree = jDynamicTree("Root", func(S s) -> L<S> { |
10 | ll(s + "/child 1", s + "/child 2") |
11 | }, keepChildrenOnCollapse := true); |
12 | showFrame(tree); |
13 | |
14 | doEvery(5.0, r { |
15 | jDynamicTree_addToNode(tree, "Root", "child " + n++) |
16 | }); |
17 | } |
Began life as a copy of #1016045
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: | #1016826 |
Snippet name: | Test jDynamicTree with updates (OK) |
Eternal ID of this version: | #1016826/6 |
Text MD5: | 2c286e788856e456959c568480d891c1 |
Transpilation MD5: | acd66ffc6b6dda1125880389052356b5 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-03 16:45:08 |
Source code size: | 326 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 490 / 1169 |
Version history: | 5 change(s) |
Referenced in: | [show references] |