Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1009942 // jTiledBackgroundDesktopPane

JavaX fragment (include)

sclass TiledBackgroundDesktopPane extends JDesktopPane {
  BufferedImage tileImage;
  
  *(BufferedImage *tileImage) {}
  
  protected void paintComponent(Graphics g) {  
    paintTiledBackground_centered(this, g, tileImage);
  }
}

static JDesktopPane jTiledBackgroundDesktopPane(S imageID) {
  final BufferedImage tileImage = loadImage2(imageID);
  ret swingNu(TiledBackgroundDesktopPane, tileImage);
}

Author comment

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: 511 / 578
Version history: 4 change(s)
Referenced in: [show references]