The component is setBoundsed to startBounds and made visible, than a Swing timer is started to process the animation (refresh rate is 100 ms).
setBounds
the ANIMATION_START event is then fired to all listeners.
458459460461462463464465466467468
finishAnimation(collapsed); } } }); gripperListener.installDragBorder(); canim.start(); } else { // no animation when expanding finishAnimation(collapsed); }