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

6
LINES

< > BotCompany Repo | #1010169 // Set margin of console buttons

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

Download Jar. Libraryless. Click here for Pure Java version (635L/5K).

1  
!7
2  
3  
p-awt {
4  
  for (JButton b : componentsOfType(consoleFrame(), JButton.class))
5  
   setHorizontalMargin(0, b);
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): cfunsshuasjs, mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1010169
Snippet name: Set margin of console buttons
Eternal ID of this version: #1010169/4
Text MD5: bfd9cda8420acaad2494979709e57f8c
Transpilation MD5: a51b3b83ca49c1067b65caaa9ffe7549
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): Yes
Created/modified: 2017-09-05 19:36:01
Source code size: 116 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 501 / 1081
Version history: 3 change(s)
Referenced in: [show references]