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

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

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: 514 / 613
Referenced in: [show references]