Invoked when a property changes.
MetalRootPaneUI
is
primarily interested in events originating from the
JRootPane
it has been installed on identifying the
property
windowDecorationStyle
. If the
windowDecorationStyle
has changed to a value other
than
JRootPane.NONE
, this will add a
Component
to the
JRootPane
to render the window decorations, as well
as installing a
Border
on the
JRootPane
.
On the other hand, if the
windowDecorationStyle
has
changed to
JRootPane.NONE
, this will remove the
Component
that has been added to the
JRootPane
as well resetting the Border to what it was before
installUI
was invoked.
Parameters:
-
e - A PropertyChangeEvent object describing the event source
and the property that has changed.