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

7
LINES

< > BotCompany Repo | #1000826 // withLabel

JavaX fragment (include)

1  
static JComponent withLabel(String label, JComponent component) {
2  
  ret westAndCenter(jlabel(label + " "), component);
3  
}
4  
5  
static JComponent withLabel(JComponent label, JComponent component) {
6  
  ret westAndCenterWithMargin(label, component);
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000826
Snippet name: withLabel
Eternal ID of this version: #1000826/3
Text MD5: 39a02b5d65f9dc63f0a32e4403b5efb8
Author: stefan
Category: javax gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-25 19:44:15
Source code size: 250 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 702 / 1073
Version history: 2 change(s)
Referenced in: [show references]