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

12
LINES

< > BotCompany Repo | #1006467 // Dynamic Buttons

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

Libraryless. Click here for Pure Java version (2987L/21K/74K).

!7

static JScrollPane scroller;

p-substance {
  showFrame(scroller = new JScrollPane);
  scroller.setViewportView(vstack(jbutton("1"), jbutton("2"), jbutton("3")));
  packFrame(scroller);
  awtLater(scroller, 5000, r {
    scroller.setViewportView(vstack(jbutton("7"), jbutton("2"), jbutton("4"), jbutton("6"), jbutton("hello!")));
  });
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006467
Snippet name: Dynamic Buttons
Eternal ID of this version: #1006467/1
Text MD5: abda2aa28b6f7e920dc3a69b0ee6199c
Transpilation MD5: 73982463ec6da1733deb037a25972f17
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-09 18:16:04
Source code size: 354 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 513 / 612
Referenced in: [show references]