Libraryless. Click here for Pure Java version (4693L/31K).
1 | // delay := delay in seconds |
2 | static JDesktopPane jDesktopPaneWithFitPicture_smooth_cacheScaled_loadLater(fS imageID, O... _) {
|
3 | final DesktopPaneWithFitPicture_smooth_cacheScaled desktop = swingNu(DesktopPaneWithFitPicture_smooth_cacheScaled); |
4 | thread "Load Background" {
|
5 | sleepSeconds(optPar delay(_, 0.0)); |
6 | time "Load Background in Background" {
|
7 | BufferedImage img = loadImage2(imageID); |
8 | } |
9 | desktop.setImage(img); |
10 | } |
11 | ret desktop; |
12 | } |
Began life as a copy of #1019469
download show line numbers debug dex old transpilations
Travelled to 10 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1019846 |
| Snippet name: | jDesktopPaneWithFitPicture_smooth_cacheScaled_loadLater |
| Eternal ID of this version: | #1019846/6 |
| Text MD5: | 95bc0222f59ae017b05f4c71dd349bf6 |
| Transpilation MD5: | 90c88ccb142023ff81d4fce19eb6739b |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-01-18 16:29:36 |
| Source code size: | 468 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 693 / 914 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |