Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Problem about screen capture program

Kshitij Arade
9 years ago Apr 27, 2012 6:59am
Charles Anthony
9 years ago Apr 27, 2012 7:16am

Hi,

The problem is that Vaadin is (mostly) *server-side* library - so the code that you write executes on Tomcat. Therefore, when you click that button, you've just taken a screenshot of the machine tomcat machine. (Well, actually, you probably haven't : tomcat is usually running as a daemon or as a windows service, with no access to the Desktop/GUI - aka Headless , so it *can't* take a screenshot, which is why it is a black rectangle).

In short, to take a screenshot of the browser, you will need to use a Screen Capture add-on.

Cheers,

Charles.

Last updated on Apr, 27th 2012
Kshitij Arade
9 years ago Apr 30, 2012 6:37am