I need to copy a ScatterChart in JavaFX 2.0 to the system clipboard. I'm not really sure how to copy the whole image of the ScatterChart with the potted points.
相关问题
- Views base64 encoded blob in HTML with PHP
- How to get the background from multiple images by
- CV2 Image Error: error: (-215:Assertion failed) !s
- Markdown to clipboard as rich text
- Replace image attributes for lazyload plugin on im
相关文章
- Use savefig in Python with string and iterative in
- Where does this quality loss on Images come from?
- Specifying image dimensions in HTML vs CSS for pag
- How to insert pictures into each individual bar in
- How to add clipboard support to Matplotlib figures
- How do I append metadata to an image in Matlab?
- Img url to dataurl using JavaScript
- Click an image, get coordinates
Gets rid of the need for any bots to take screenshots
See next piece of code. I've added full package names for all non-javafx classes to avoid imports mess.
N.B.: this approach involves using AWT side-by-side with JavaFX which is generally not a good idea and may not work on all configuration. It's better to use
GlassRobot
instead ofAWTRobot
. Unfortunately it's not stable enough yet.