static JLabel jcenterimage(S imageID) { ret swingNu(JLabel.class, imageIcon(imageID)); } static JLabel jcenterimage(BufferedImage image) { ret swingNu(JLabel.class, new ImageIcon(image)); } static JLabel jcenterimage(S text, S imageID) { ret jImageLabel(text, imageID); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004503 |
Snippet name: | jcenterimage - actually centers perfectly, even when image is larger than our available screen space |
Eternal ID of this version: | #1004503/3 |
Text MD5: | 201d0b17ba26503556d8bb721cd95cec |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-03 23:52:23 |
Source code size: | 289 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 589 / 617 |
Version history: | 2 change(s) |
Referenced in: | #1006263 - jCenterImageWithText #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1015282 - jcenteredimage - synonym of jcenterimage - actually centers perfectly, even when image is larger than our available screen space |