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

7
LINES

< > BotCompany Repo | #1006265 // jImageWithTextToTheRight

JavaX fragment (include)

static JLabel jImageWithTextToTheRight(S imageID, S text) {
  ret addTextToLabelToTheRight(new JLabel(imageIcon(imageID)), text);
}

static JLabel jImageWithTextToTheRight(BufferedImage image, S text) {
  ret addTextToLabelToTheRight(new JLabel(new ImageIcon(image)), text);
}

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: 539 / 552
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)