1 | sclass DesktopPaneWithSkyPicture extends JDesktopPane { |
2 | BufferedImage image; |
3 | |
4 | *(BufferedImage *image) {} |
5 | |
6 | protected void paintComponent(Graphics g) { |
7 | paintSkyBackground(this, g, image); |
8 | } |
9 | } |
10 | |
11 | static JDesktopPane jDesktopPaneWithSkyPicture(S imageID, Color background) { |
12 | ret setBackground(background, swingNu(DesktopPaneWithSkyPicture, loadImage2(imageID))); |
13 | } |
Began life as a copy of #1009942
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015863 |
Snippet name: | jDesktopPaneWithSkyPicture |
Eternal ID of this version: | #1015863/4 |
Text MD5: | 3c60cabb9a04049b761252aa97db3548 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-29 00:42:40 |
Source code size: | 390 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 372 / 434 |
Version history: | 3 change(s) |
Referenced in: | [show references] |