1 | sclass DesktopPaneWithFitPicture extends JDesktopPane { |
2 | BufferedImage image; |
3 | *(BufferedImage *image) {} |
4 | |
5 | protected void paintComponent(Graphics g) { |
6 | paintFitBackground(this, g, image); |
7 | } |
8 | } |
9 | |
10 | static JDesktopPane jDesktopPaneWithFitPicture(S imageID) { |
11 | ret swingNu(DesktopPaneWithFitPicture, loadImage2(imageID)); |
12 | } |
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: | 348 / 395 |
Version history: | 2 change(s) |
Referenced in: | [show references] |