What is the instruction or code used to design a program in Java to take a picture of the desktop in the computer | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

What is the instruction or code used to design a program in Java to take a picture of the desktop in the computer

24th Nov 2017, 5:15 PM
Qutaba Qais Mahmood
Qutaba Qais  Mahmood - avatar
2 Answers
+ 5
have a look at the Robot Class https://docs.oracle.com/javase/9/docs/api/java/awt/Robot.html it has print screen capability, keyboard/mouse emulation and more.
25th Nov 2017, 12:06 AM
seamiki
seamiki - avatar
0
عربي ممكن؟
24th Nov 2017, 7:22 PM
KING AlRawi (backer gamer)
KING AlRawi (backer gamer) - avatar