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" <[email protected]> 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
