import java.awt.*;
import java.applet.*;
import symantec.itools.multimedia.ScrollingText;
public class textscroller extends Applet
{
public void init()
{
// Take out this line if you don't use symantec.itools.net.RelativeURL
or symantec.itools.awt.util.StatusScroller
symantec.itools.lang.Context.setApplet(this);
// This code is automatically generated by Visual Cafe when you add
// components to the visual environment. It instantiates and initializes
// the components. To modify the code, only use code syntax that matches
// what Visual Cafe can generate, or Visual Cafe may be unable to back
// parse your Java file into its visual environment.
//{{INIT_CONTROLS
setLayout(null);
setSize(572,19);
scrollingText1 = new symantec.itools.multimedia.ScrollingText();
try {
scrollingText1.setScrollDirection(symantec.itools.multimedia.ScrollingText.SCROLL_RIGHT);
}
catch(java.beans.PropertyVetoException e) { }
try {
scrollingText1.setScrollUnit(25);
}
catch(java.beans.PropertyVetoException e) { }
try {
java.lang.String[] tempString = new java.lang.String[1];
tempString[0] = new java.lang.String("Welcome to Spikey'z webpage");
scrollingText1.setMessageList(tempString);
}
catch(java.beans.PropertyVetoException e) { }
scrollingText1.setBounds(0,0,576,19);
scrollingText1.setFont(new Font("DialogInput", Font.BOLD, 16));
scrollingText1.setForeground(new Color(255));
add(scrollingText1);
//}}
}
//{{DECLARE_CONTROLS
symantec.itools.multimedia.ScrollingText
scrollingText1;
//}}
} |