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

12
LINES

< > BotCompany Repo | #1019438 // jDesktopPaneWithFitPicture_smooth

JavaX fragment (include)

sclass DesktopPaneWithFitPicture_smooth extends JDesktopPane {
  BufferedImage image;
  *(BufferedImage *image) {}
  
  protected void paintComponent(Graphics g) {  
    paintFitBackground_smooth(this, g, image);
  }
}

static JDesktopPane jDesktopPaneWithFitPicture_smooth(S imageID) {
  ret swingNu(DesktopPaneWithFitPicture_smooth, loadImage2(imageID));
}

Author comment

Began life as a copy of #1016580

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019438
Snippet name: jDesktopPaneWithFitPicture_smooth
Eternal ID of this version: #1019438/1
Text MD5: 7d13e4b4e59b1021f4f3ff16dd0175d1
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-06 19:35:31
Source code size: 369 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 371 / 388
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019469 - jDesktopPaneWithFitPicture_smooth_cacheScaled - caches scaled image