Skip to main content

Creating transparent window

2 replies [Last post]
kor_wanderer
Offline
Joined: 2003-08-18
Points: 0

Hi all ' Is any body now the way to create transparent window or undecorated transparent Frame in Java.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kor_wanderer
Offline
Joined: 2003-08-18
Points: 0

Thanks a lot.

bino_george
Offline
Joined: 2003-06-16
Points: 0

Unfortunately, at this time there is no real way to
create a transparent/translucent window on
X11/Linux/Solaris. There is some work being done
towards this end :

http://www.freedesktop.org/Software/CompositeExt

Furthermore, since AWT generally provides functionality
that is available on all platforms (inorder to write
WORA apps), we decided not to add this API without
uniform support across all platforms. So in short
there is no way to do this in Java currently.

However, if you need a Windows only solution, there are
some third-party libraries which provide this. Also, you
could easily write a JAWT/JNI function to do this.

Thanks,
Bino.