01: package xui.samples.carousel.components;
02:
03: import com.xoetrope.swing.XAnimatedText;
04: import net.xoetrope.swing.*;
05:
06: /**
07: * An about dialog for this application
08: * <p>Copyright: Xoetrope Ltd. (c) 2001-2006</p>
09: * <p>License: see license.txt</p>
10: * <p>$Revision: 1.6 $</p>
11: */
12: public class About extends XDialog {
13: public About() {
14: }
15:
16: /**
17: * The page is now visible
18: */
19: public void pageActivated() {
20: // All we need do is start the animations.
21: // This could also be done with the autostart option for the components
22: // from within the XML but the init call also allows us to reset
23: // the animation effects (fade-in)
24: ((XAnimatedText) findComponent("animatedText")).init();
25: }
26: }
|