Added animateIn() and animateOut() to Swing