contentPane.setDropTarget(new ToolWindowBarDropTarget(anchor, contentPane));
contentPane.addMouseListener(new ToolsOnBarMouseListener(manager, anchor));
}
protected void initListeners() {
propertyChangeSupport = new PropertyChangeSupport();
propertyChangeSupport.addPropertyChangeListener("available", new AvailableListener());
propertyChangeSupport.addPropertyChangeListener("visible.before", new VisibleBeforeListener());
propertyChangeSupport.addPropertyChangeListener("visible.DOCKED", new VisibleDockedListener());
propertyChangeSupport.addPropertyChangeListener("visible.FLOATING", new VisibleFloatingListener());
propertyChangeSupport.addPropertyChangeListener("visible.FLOATING_FREE", new VisibleFloatingWindowListener());