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).

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

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: 119 / 176
Version history: 2 change(s)
Referenced in: [show references]