1 | static File copyFileToClipboard(File f) { |
2 | if (f == null) null; |
3 | Toolkit.getDefaultToolkit().getSystemClipboard().setContents( |
4 | new FileTransferable(f), null); |
5 | vmBus_send('newClipboardContents, f); |
6 | ret f; |
7 | } |
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: | 345 / 394 |
Referenced in: | [show references] |