Scenario : In NetBeans, you create Swing components via drag & drop and customize some properties via the given GUI.
Question : Later on, If you see the generated code of these components, either in source or by by right-clicking the component and selecting customize code, we can see that the property changes are implemented via AWT. Why is this so?
As mentioned in Using Top-Level Containers,
java.awt.Container, an AWTComponenet, is that container.Addendum: This overview suggests how pervasively the interface
java.beans.PropertyChangeListeneris used throughout AWT and Swing.