1 | sclass TiledBackgroundDesktopPane extends JDesktopPane { |
2 | BufferedImage tileImage; |
3 | |
4 | *(BufferedImage *tileImage) {} |
5 | |
6 | protected void paintComponent(Graphics g) { |
7 | paintTiledBackground_centered(this, g, tileImage); |
8 | } |
9 | } |
10 | |
11 | static JDesktopPane jTiledBackgroundDesktopPane(S imageID) { |
12 | final BufferedImage tileImage = loadImage2(imageID); |
13 | ret swingNu(TiledBackgroundDesktopPane, tileImage); |
14 | } |
Began life as a copy of #1006894
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: | #1009942 |
Snippet name: | jTiledBackgroundDesktopPane |
Eternal ID of this version: | #1009942/5 |
Text MD5: | e72dc45a3d250651dac13b3110b17a4c |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-27 21:32:18 |
Source code size: | 417 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 514 / 582 |
Version history: | 4 change(s) |
Referenced in: | [show references] |