ground.setBounds( r );
alphaPanel.setBounds( r );
slidePanel.setBounds( 0, 0, 200, contentPane.getHeight() );
DefaultAnimationRunner runner = new DefaultAnimationRunner();
AlphaPanelAnimation fadeIn = new AlphaPanelAnimation( alphaPanel, 1f );
fadeIn.setStartOffset( 1000 );
fadeIn.setDuration( 2000 );
runner.addAnimation( fadeIn );
AlphaPanelAnimation fadeOut = new AlphaPanelAnimation( alphaPanel, 0f );
fadeOut.setStartOffset( 4000 );
fadeOut.setDuration( 2000 );
runner.addAnimation( fadeOut );
SlidePanelAnimation slideIn = new SlidePanelAnimation( slidePanel, 1f );
slideIn.setInterpolator( new AccelerateInterpolator() );
slideIn.setStartOffset( 7000 );