<Swing Dev> How to resolve image tearing
ximalaya
ims3g at 126.com
Tue Apr 12 15:30:29 UTC 2011
Hi Anthony,
Good morning! Glad to know that.
Then in our case, do we have to draw texts directly in the canvas?
Regarding the different behaviour between openJDK 1.6.0_18 and latest openJDK build, seems something has been changed?
If you ever experienced image tearing or have knowledge on this topic, welcome to share with me. I've spent rather a lot time to look into this issue. For a video player written in Java, this might be a common problem. I've posted to 2d-dev mailing list, no response yet.
Thanks,
Lin
At 2011-04-12 21:25:18,"Anthony Petrov" <anthony.petrov at oracle.com> wrote:
>Hi Lin,
>
>On 4/12/2011 3:47 AM, ximalaya wrote:
>> From an article, it is said we can not overlay non-opaque LW
>> component on HW compoent. Does latest JDK still have this
>> limitation?
>
>Yes, this is a known limitation, and currently we don't have plans to
>fix this due to technical difficulties and absence of support for this
>functionality from the native systems. Sorry about that.
>
>> From the article as in your email, I find bug 6852592 is not closed.
>
>Although it isn't marked as 'closed', the fix has been delivered to JDK7
>b77.
>
>> Associated with our above observation, my question is,**does latest
>> JDK fully support mixing of heavy and light components?
>
>The answer to this is - yes. But there's known limitations (as with
>non-opaque lw components) which are outlined in the specification (e.g.
>see the spec for the Component class) and/or in the article that I've
>mentioned.
>
>--
>best regards,
>Anthony
>
>> http://java.sun.com/developer/technicalArticles/GUI/mixing_components/index.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20110412/dbcff58e/attachment.html>
More information about the swing-dev
mailing list