static File copyFileToClipboard(File f) { if (f == null) null; Toolkit.getDefaultToolkit().getSystemClipboard().setContents( new FileTransferable(f), null); vmBus_send('newClipboardContents, f); ret f; }
Began life as a copy of #1005363
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: | #1019177 |
Snippet name: | copyFileToClipboard (returns the argument) |
Eternal ID of this version: | #1019177/1 |
Text MD5: | 12f0d67390d7bc3744067a1ed4831b87 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-27 01:43:00 |
Source code size: | 221 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 344 / 393 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1027070 - copyFileToClipboardVerbose (returns the argument) #1029615 - copyTextFileToClipboard |