New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: The frame is decorated #2
Comments
I have the same problem as well. |
Any help with this problem? I have it too! |
I looked into it but there where more things not done really well. You can run this without needing the library: SimpleScreenCapture simpleScreenCapture; void setup() { } void draw() { image(simpleScreenCapture.get(), 0, 0, width, height); } import java.awt.Robot; class SimpleScreenCapture { Robot robot; PImage screenshot; SimpleScreenCapture() { PImage get() { } |
I can confirm this alternate method works. Can you suggest how to make the screen capture region moveable/sizeable? I'd really like those features. |
That will be some more work. I suggest to look into the onformative/ScreenCapturer source code for that. |
@clankill3r thanks for sharing this quick solution! 👍 |
- Quick R&D for capturing image through UDP or via ScreenCaptured Based on : http://shiffman.net/2010/11/13/streaming-video-with-udp-in-processing/ onformative/ScreenCapturer#2
When trying to run the example I get the following:
And the sketch does not work. Only a gray screen appears.
The text was updated successfully, but these errors were encountered: