public void propertyChange(PropertyChangeEvent evt) {
ToolWindowDescriptor toolWindowDescriptor = (ToolWindowDescriptor) evt.getSource();
boolean visible = (Boolean) evt.getNewValue();
Component content = (visible) ? toolWindowDescriptor.getComponent() : null;
SlidingContainer container = (SlidingContainer) toolWindowDescriptor.getToolWindowContainer();
if (content == null && toolWindowDescriptor.getToolWindow().isVisible())
return;
container.setVisible(visible, getToolScrollBar());
}