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

6
LINES

< > BotCompany Repo | #1025856 // rawClipboardContents (Transferable)

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

Libraryless. Click here for Pure Java version (61L/1K).

import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.DataFlavor;

static Transferable rawClipboardContents() ctex {
  ret Toolkit.getDefaultToolkit().getSystemClipboard().getContents(null);
}

Author comment

Began life as a copy of #1006100

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025856
Snippet name: rawClipboardContents (Transferable)
Eternal ID of this version: #1025856/3
Text MD5: a267d822589f0aae8a8024a11bb4c42a
Transpilation MD5: a297da168754e69c8bb38a4b35a30df5
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-29 19:16:04
Source code size: 215 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 142 / 219
Version history: 2 change(s)
Referenced in: [show references]