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

12
LINES

< > BotCompany Repo | #1014639 // Test DynamicVStack with buttons (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7069L/48K).

1  
!7
2  
3  
p-experiment {
4  
  DynamicVStack stack = dynamicVStack();
5  
  showFrameHidingConsole(jscroll(stack));
6  
  repeat with ms sleep 500 {
7  
    if (!mouseOverComponent(stack)) {
8  
      if (stack.numComponents() >= 30) stack.clearComponents();
9  
      stack.addComponent(jMarginButton(randomEnglishWord()));
10  
    }
11  
  }
12  
}

Author comment

Began life as a copy of #1014636

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014639
Snippet name: Test DynamicVStack with buttons (OK)
Eternal ID of this version: #1014639/10
Text MD5: 4b802f9a200654ae02d6c5f4bfe6badd
Transpilation MD5: 8d56bc71bc0a8d733130e480b561326c
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-27 16:59:00
Source code size: 317 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 382 / 1865
Version history: 9 change(s)
Referenced in: [show references]