本文介绍了透明窗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个全屏显示的JFrame
.我将地图添加到JPanel
,然后将其添加到JFrame
.现在,我想向JFrame
添加一个透明窗口.我想查看所有地图,并想移动透明窗口.
I have a fullscreen JFrame
. I added a map to JPanel
then added it to JFrame
. Now I want to add a transparent window to JFrame
. I want to see all map and I want to move transparent window.
我是用内部框架完成的,但标题是透明的.
I did it with internal frame but I couldn't it's title tranparent.
您能帮我吗?
谢谢...
推荐答案
http://techgearup.wordpress.com/2008/09/19/transparent-jframe-background/
这至少可以作为一个起点.
This might help... as a starting point, at least.
这篇关于透明窗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!