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

7
LINES

< > BotCompany Repo | #1006265 // jImageWithTextToTheRight

JavaX fragment (include)

1  
static JLabel jImageWithTextToTheRight(S imageID, S text) {
2  
  ret addTextToLabelToTheRight(new JLabel(imageIcon(imageID)), text);
3  
}
4  
5  
static JLabel jImageWithTextToTheRight(BufferedImage image, S text) {
6  
  ret addTextToLabelToTheRight(new JLabel(new ImageIcon(image)), text);
7  
}

Author comment

Began life as a copy of #1006263

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006265
Snippet name: jImageWithTextToTheRight
Eternal ID of this version: #1006265/1
Text MD5: 42c600172d307a4a8681c5634aafdcd7
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-26 13:28:17
Source code size: 282 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 538 / 551
Referenced in: [show references]