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

7
LINES

< > BotCompany Repo | #1024617 // withLabelToTheRight

JavaX fragment (include)

static JComponent withLabelToTheRight(JComponent etc component, S label) {
  ret centerAndEast(component, jlabel(" " + label));
}

static JComponent withLabelToTheRight(S label, JComponent etc component) {
  ret withLabelToTheRight(component, label);
}

Author comment

Began life as a copy of #1000826

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024617
Snippet name: withLabelToTheRight
Eternal ID of this version: #1024617/3
Text MD5: 75142b1868bb7c4d4517d92aee1b58c5
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-17 22:08:55
Source code size: 258 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 227
Version history: 2 change(s)
Referenced in: [show references]