@Override
protected void installDefaults(final JPanel p) {
super.installDefaults(p);
this.transparencyAnimation = new TransparencyAnimation(
new TranslucentComponent() {
public void setAlphaModeRatio(float transparency) {
if (transparencyAnimation.getAnimationDirection() == AbstractAnimation.Direction.OUTGOING){
transparencyAlpha = transparency;
} else {
transparencyAlpha = 1.0f - transparency;