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

7
LINES

< > BotCompany Repo | #1020265 // YesPopup

JavaX fragment (include)

1  
sclass YesPopup extends JLabel {
2  
  Component forComponent;
3  
  
4  
  *(Component *forComponent, S imageID, int height) {
5  
    setIcon(imageIcon(scaleImageToHeight(loadImage2(imageID), height)));
6  
  }
7  
}

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: #1020265
Snippet name: YesPopup
Eternal ID of this version: #1020265/2
Text MD5: 69daf40dd360af3cbd27ffe905aeeb06
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-12 01:43:58
Source code size: 200 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 327 / 859
Version history: 1 change(s)
Referenced in: [show references]