public void propertyChange(PropertyChangeEvent evt) {
if ("visible".equals(evt.getPropertyName())) {
if (((Boolean) evt.getNewValue())) {
ToolWindowAnchor target = ((ToolWindowDescriptor) evt.getSource()).getToolWindow().getAnchor();
addMostRecentAnchor(target);
if (pushAwayMode == PushAwayMode.MOST_RECENT)
forceChangePushAwayMode(PushAwayMode.MOST_RECENT);
}