<AWT Dev> [8] Request for review: JDK-8022512 JLightweightFrame: the content pane should be transparent
Anthony Petrov
anthony.petrov at oracle.com
Mon Sep 9 06:26:55 PDT 2013
Hi Anton,
The fix looks good I suppose. However, are you sure we want to support
transparent content in embedded components? I understand that it's cool
and stuff, but do we have to? We don't support transparency for
heavyweight embedded frames (e.g. applets), why would we want to support
it for the JLF? How are you going to handle mouse events on transparent
parts? Will JFXPanel support the same?
--
best regards,
Anthony
On 09/03/2013 03:01 PM, Anton V. Tarasov wrote:
> Please, review a fix.
>
> jira: https://bugs.openjdk.java.net/browse/JDK-8022512
> webrev: http://cr.openjdk.java.net/~ant/JDK-8022512/webrev.0/
>
> Both JLF and its Content Pane are "transparent" to the client app, e.g.
> SwingNode, in terms of functionality. They should be physically
> transparent as well, in order to support translucent Swing content. This
> is the case for JLF, but not for the Content Pane yet.
>
> Thanks,
> Anton.
More information about the awt-dev
mailing list