awtutilities

AWTUtilities Transparent JFrame

Using this article from sun. I am trying to create a transparent window. I have one image inside a label on the frame. I want the image to be visible but the frame invisible. When i use try { Class awtUtilitiesClass = Class.forName("com.sun.awt.AWTUtilities"); Method mSetWindowOpacity = awtUtilitiesClass.getMethod("setWindowO...

How to distribute AWTUtilities

I recently read the blog posts on Pushing Pixels that describe how to achieve native transparency and translucency with pure Java. The needed classes reside on com.sun.awt namely com.sun.awt.AWTUtilities. I was wondering how i could include the needed classes (not just this one) into my distro since the classes are available only when y...

Should I be concerned using AWTUtilities.setWindowShape()?

I am using the AWTUtilities class in my application to create custom window shapes. As far as I know, there is no other way to do it. It is a requirement. The javadoc generation gives me this error: warning: com.sun.awt.AWTUtilities is Sun proprietary API and may be removed in a future release What exactly does this mean? I can use ...