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

6
LINES

< > BotCompany Repo | #1033847 // copyImageToClipboardWithInfoBox

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

Libraryless. Click here for Pure Java version (7884L/45K).

1  
static <A extends Image> A copyImageToClipboardWithInfoBox(A img) {
2  
  if (img == null) ret img;
3  
  copyImageToClipboard(img);
4  
  infoBoxNoPrint("Copied image to clipboard" + appendBracketed(img.getWidth(null) + "*" + img.getHeight(null)));
5  
  ret img;
6  
}

Author comment

Began life as a copy of #1006060

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033847
Snippet name: copyImageToClipboardWithInfoBox
Eternal ID of this version: #1033847/3
Text MD5: 3531bec6a6ce9f8ae9d73db46e8b9a84
Transpilation MD5: cd1dca956a08ab8a8c7115fc969ed1f1
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-07 01:07:24
Source code size: 257 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 120 / 177
Version history: 2 change(s)
Referenced in: [show references]