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

10
LINES

< > BotCompany Repo | #1035609 // jMaxSpeedAnimation

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (18831L) is out of date.

1  
static JComponent jMaxSpeedAnimation(IF0<BufferedImage> renderFrame) {
2  
  new ImageSurface is;
3  
  is.pixelate(true);
4  
  is.autoZoomToDisplay(true);
5  
  awtCalcContinuously(is, -> {
6  
    var img = renderFrame!;
7  
    if (img != null) is.setImage(img);
8  
  });
9  
  ret jscroll_center_borderless(is);
10  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035609
Snippet name: jMaxSpeedAnimation
Eternal ID of this version: #1035609/5
Text MD5: 07dd3150676a1a2a2b10cec0fece47b7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-02 20:14:34
Source code size: 296 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 81 / 114
Version history: 4 change(s)
Referenced in: [show references]