0 Replies Latest reply on May 1, 2010 4:59 PM by 843807



      JDK: 6u20
      OS: Linux- CentOS 5.4 (x86_64)

      I'm trying to create a semi-transparent control menu over top of a canvas playing video. I was able to accomplish this quickly using AWTUtilities and a simple undecorated JDialog using the setWindowOpacity() method on hardware using an ATI based graphics device.

      The problem comes in when I try the same code on nVidia based graphics hardware. The ATI hardware provides the per window TRANSLUCENT capability and the nVidia hardware provides/supports both PERPIXEL_TRANSPARENT and PERPIXEL_TRANSLUCENT only.

      I would expect that per-pixel is superior to per-window, thus I would like to create an implementation of the per-window capability from per-pixel, but I can't figure out how... No matter what I try I can't get the video to show through the JDialog and get all the components in the JDialog to be translucent in a uniform manner.

      Please let me know if I am barking up the wrong tree and of course any examples would be very helpful.


      Edited by: Shane_Walton on May 1, 2010 9:58 AM