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

4
LINES

< > BotCompany Repo | #1020060 // initImageLabel

JavaX fragment (include)

1  
svoid initImageLabel(final JLabel l, S imageID) {
2  
  final ImageIcon icon = imageIcon(imageID);
3  
  swing { l.setIcon(icon); }
4  
}

Author comment

Began life as a copy of #1015433

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020060
Snippet name: initImageLabel
Eternal ID of this version: #1020060/2
Text MD5: 6f18d3333d6f3e871ac4c5e84f5ca55b
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-05 12:30:20
Source code size: 128 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 269 / 309
Version history: 1 change(s)
Referenced in: [show references]