是否可以录制Java Swing组件的视频? [英] Is it possible to record video of a Java Swing Component?

查看:121
本文介绍了是否可以录制Java Swing组件的视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种从java JComponent制作视频的方法。我找到了将组件保存为图像的方法,但理想情况下,我希望能够将组件绘制到屏幕和视频文件中。我希望找到一个不需要核心JDK以外的库的解决方案,但可以考虑使用轻量级库。

I am looking for a way to make a video out of a java JComponent. I found ways to save components as images, but ideally I would like to be able to have the component paint to the screen and to a video file. I am hoping to find a solution that does not require libraries outside of the core JDK, but lightweight libraries might be considered.

谢谢

推荐答案

我不相信有些库可以满足您的要求。实际上,这似乎是一种相当奇怪的方法。你能解释一下你想要实现的目标。

I don't believe there are libraries that will do what you are asking. Indeed, it seems a rather strange approach. Could you explain what it is that you are trying to achieve.

我怀疑更可行的方法是使用像 Camtasia 来捕捉用户正在做的事情。这需要花钱,但如果你的老板是小偷,他们会有评估下载。

I suspect that a more viable approach is to use a screen video capture tool like Camtasia to capture what the user is doing. It costs money, but they do have an evaluation download if your boss is a cheapskate.

这篇关于是否可以录制Java Swing组件的视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆