Translucent/Shaped Windows
Doug Zwick
Doug.Zwick at blackboard.com
Tue Aug 7 08:50:24 PDT 2012
Anthony Petrov wrote:
> I'm a bit late on this. I just want to clarify one thing:
>
> On 7/17/2012 4:08 AM, Doug Zwick wrote:
>> through). I am running with 1.7.0_05. I did notice that calls to
>> Window.setShape throw an exception:
>>
>> java.lang.UnsupportedOperationException: PERPIXEL_TRANSPARENT
>> translucency is not supported.
>>
>> However,
>> GraphicsDevice.isWindowTranslucencySupported(PERPIXEL_TRANSLUCENT)
>
> This is expected. Please note the difference between:
>
> PERPIXEL_TRANSPARENT
> and
> PERPIXEL_TRANSLUCENT
>
> These two are two different constants. The former covers setShape(), and
> the later - setBackground()/setWindowOpaque() translucency modes. They
> are independent.
Can you provide any guidance on whether Java 7 for OS X will support Window.setShape, or continue to use the alpha-based mechanism from Java 6?
This email and any attachments may contain confidential and proprietary information of Blackboard that is for the sole use of the intended recipient. If you are not the intended recipient, disclosure, copying, re-distribution or other use of any of this information is strictly prohibited. Please immediately notify the sender and delete this transmission if you received this email in error.
More information about the macosx-port-dev
mailing list