'How to take a screenshot of a window
How do you take a screenshot of an external application window using Java on Ubuntu. I don't want to use the Robot class or any sort of similar method. I want to do a "native" sort of method. I'm looking for something similar to the JNI approach of this on Windows.
Solution 1:[1]
You can do it in 2 ways:
- Alt + Print Screen to take a screenshot of a window.
- Shift + Print Screen to take a screenshot of an area you select.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | nailimvali |
