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

8
LINES

< > BotCompany Repo | #1010283 // jImageAndTextButton_defaultPlacement - text to right of image

JavaX fragment (include)

static JButton jImageAndTextButton_defaultPlacement(S imageID, S text, O action) {
  ret setText(jImageButton(imageID, action), text);
}

// button without action
static JButton jImageAndTextButton_defaultPlacement(S imageID, S text) {
  ret jImageAndTextButton_defaultPlacement(imageID, text, null);
}

Author comment

Began life as a copy of #1010279

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010283
Snippet name: jImageAndTextButton_defaultPlacement - text to right of image
Eternal ID of this version: #1010283/1
Text MD5: b0ead375abc211247e0e9bbcd26a4f77
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-10 17:03:58
Source code size: 309 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 416 / 446
Referenced in: [show references]