开发者

Using JMF, How can I add a video to the background of a JPanel?

I am working on a GUI. It is strictly for Sign-in. I have it working perfectly, but I would like to add a video to the background of the Panel. Is there any way of do开发者_开发百科ing this without having to make two separate JPanels? And if I had to use two, what would be the best way to do this?


I don't see why you would have to use two JPanels. It seems like whatever JPanel contains your login that you want a video in the background you could just modify. However, from a layout standpoint you might want the video as a separate component just to have more control and simpler code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜