On Thu, 28 Oct 2021 01:58:33 GMT, Alexander Zuev <[email protected]> wrote:

> Creation of component like instantiation?

Yes, every access to the Swing components:
https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/javax/swing/package-summary.html

> That seems to be wrong. We always had the notion of realized component vs 
> non-realized. Before a component is added to the realized container or 
> becomes realized on its own it should not post any events on EDT. 

I think that was changed 15 years ago or so somewhere before the release of the 
JDK5 the spec was updated:
https://bugs.openjdk.java.net/browse/JDK-5042754?focusedCommentId=12216623&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-12216623

And the text about "realized component" was removed from the tutorial somewhere 
in 2004, so we even do not use this term.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6104

Reply via email to