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)

1  
static JButton jImageAndTextButton_defaultPlacement(S imageID, S text, O action) {
2  
  ret setText(jImageButton(imageID, action), text);
3  
}
4  
5  
// button without action
6  
static JButton jImageAndTextButton_defaultPlacement(S imageID, S text) {
7  
  ret jImageAndTextButton_defaultPlacement(imageID, text, null);
8  
}

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: 418 / 449
Referenced in: [show references]