sclass DesktopPaneWithFitPicture extends JDesktopPane { BufferedImage image; *(BufferedImage *image) {} protected void paintComponent(Graphics g) { paintFitBackground(this, g, image); } } static JDesktopPane jDesktopPaneWithFitPicture(S imageID) { ret swingNu(DesktopPaneWithFitPicture, loadImage2(imageID)); }
Began life as a copy of #1015863
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016580 |
Snippet name: | jDesktopPaneWithFitPicture |
Eternal ID of this version: | #1016580/3 |
Text MD5: | 21e161801993c90fc0f6c09dd38615ea |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-24 03:48:00 |
Source code size: | 341 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 346 / 392 |
Version history: | 2 change(s) |
Referenced in: | [show references] |