1

I want to put a video on my Java Swing application.

For example, I can use...

g.drawString("Hello!",100,100);

To draw a string. But how do I put a video there?

4

2 回答 2

2

如果您希望播放器能够播放各种视频,则没有“简单的方法”可以做到这一点。尝试使用来自 Google-Code 的GStreamer for Java ...

于 2012-05-13T07:40:32.623 回答
2

Here do try these links

And do try to run these files, hope these can help

MEDIA

For this project to work, you have to download first Java Media Framework from here

于 2012-05-13T07:37:31.677 回答