// Init floating type descriptor properties listeners
PropertyChangeEventSource floatingTypeDescriptorSource = (PropertyChangeEventSource) descriptor.getToolWindow().getTypeDescriptor(FloatingTypeDescriptor.class);
floatingTypeDescriptorSource.addPlafPropertyChangeListener(propertyChangeListener);
// Animation listener
floatingAnimation.addAnimationListener(animationListener = new AnimationListener() {
public void onFinished() {
if (assignFocusOnAnimFinished) {
descriptor.assignFocus();
assignFocusOnAnimFinished = false;
}