com.sun.javafx.scene.transfer.Clipboard.getSystemClipboard().placeContent(UTI.URL, url) appears to have no effect. To reproduce:
1. Run the attached program.
2. Click the "Copy" button.
3. Watch the program's stdout. Note that the placeContent(UTI.URL, url) call does not seem to alter the clipboard content, that is, the content that was on the clipboard before the call remains there after the call.
1. Run the attached program.
2. Click the "Copy" button.
3. Watch the program's stdout. Note that the placeContent(UTI.URL, url) call does not seem to alter the clipboard content, that is, the content that was on the clipboard before the call remains there after the call.
- relates to
-
JDK-8113579 Clipboard.getSystemClipboard().clear() has no effect
- Resolved
-
JDK-8113362 Clipboard.getSystemClipboard().placeImage() either throws IllegalArgumentException or does nothing
- Closed