Full screen capture of a DirectX program in java (Javacv ?)
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: [For Windows] I know it is possible to capture screen of a DirectX program running under C# language, but do you know some sample code for Java? I am actually facing this same problem than this Take screen shots inside of full screen applications with java? . Robot class didn't helped and neither worked. But yet I didn't found any sample of java code on the internet concerning this. Thanks for any help you could provide on this topic. 回答1: Since I worked on it more, see also: import java.awt.*; import java.awt.datatransfer.*; import java.awt