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

9
LINES

< > BotCompany Repo | #1035945 // Test WrapLayout

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

Download Jar. Libraryless. Click here for Pure Java version (16011L/96K).

1  
!7
2  
3  
p-exp {
4  
  set flag WrapLayout_debug.
5  
6  
  var panel = jpanel(new WrapLayout);
7  
  repeat 20 { panel.add(withMargin(20, jcenteredlabel("Hello"))); }
8  
  showFrame(panel);
9  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035945
Snippet name: Test WrapLayout
Eternal ID of this version: #1035945/1
Text MD5: 2e67dc47f6f1b76287dc66d9374b239b
Transpilation MD5: 7c53f0b90468c774f811da5f4c44b4db
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-17 16:32:03
Source code size: 177 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 207 / 605
Referenced in: [show references]