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).

!7

p-experiment {
  DynamicVStack stack = dynamicVStack();
  showFrameHidingConsole(jscroll(stack));
  repeat with ms sleep 500 {
    if (!mouseOverComponent(stack)) {
      if (stack.numComponents() >= 30) stack.clearComponents();
      stack.addComponent(jMarginButton(randomEnglishWord()));
    }
  }
}

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: 371 / 1836
Version history: 9 change(s)
Referenced in: [show references]