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

7
LINES

< > BotCompany Repo | #1019390 // jImage_scaledToHeight

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7904L/46K).

static JLabel jImage_scaledToHeight(S imageID, int height, S toolTip default null) {
  ret setToolTip(toolTip, jImage(resizeImageToHeight_bilinear(loadImage2(imageID), height)));
}

static JLabel jImage_scaledToHeight(int height, S imageID, S toolTip default null) {
  ret jImage_scaledToHeight(imageID, height, toolTip);
}

Author comment

Began life as a copy of #1015433

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019390
Snippet name: jImage_scaledToHeight
Eternal ID of this version: #1019390/9
Text MD5: 25e68a3270e0332e90f93aa028ac4fc8
Transpilation MD5: 4200254b17a08fd5b936d9c380e4dadc
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-29 12:24:25
Source code size: 329 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 327 / 443
Version history: 8 change(s)
Referenced in: [show references]