home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 November
/
Chip_1998-11_cd.bin
/
tema
/
Cafe
/
VCSAMPL.BIN
/
Applet1.java
< prev
next >
Wrap
Text File
|
1997-09-09
|
66KB
|
2,409 lines
/*
A basic extension of the java.applet.Applet class
*/
import java.awt.*;
import java.applet.*;
import symantec.itools.awt.*;
import symantec.itools.util.Timer;
import symantec.itools.awt.util.*;
import symantec.itools.multimedia.SlideShow;
import symantec.itools.multimedia.*;
import symantec.itools.awt.shape.*;
import symantec.itools.awt.util.spinner.*;
import symantec.itools.db.awt.*;
public class Applet1 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(546,500);
setBackground(new Color(12632256));
timer1 = new symantec.itools.util.Timer(1000,true);
timer1.start();
//$$ timer1.move(4,51);
statusScroller1 = new symantec.itools.awt.util.StatusScroller();
try {
statusScroller1.setString("Use the horizontal slider to adjust my scrolling speed...");
}
catch(java.beans.PropertyVetoException e) { }
//$$ statusScroller1.move(6,98);
tabPanel1 = new symantec.itools.awt.TabPanel();
try {
java.lang.String[] tempString = new java.lang.String[7];
tempString[0] = new java.lang.String("AWT");
tempString[1] = new java.lang.String("Utility");
tempString[2] = new java.lang.String("Multimedia");
tempString[3] = new java.lang.String("Shapes");
tempString[4] = new java.lang.String("Panels");
tempString[5] = new java.lang.String("Additional");
tempString[6] = new java.lang.String("DBAware");
tabPanel1.setPanelLabels(tempString);
}
catch(java.beans.PropertyVetoException e) { }
try {
tabPanel1.setCurrentPanelNdx(0);
}
catch(java.beans.PropertyVetoException e) { }
tabPanel1.setBounds(73,15,476,425);
add(tabPanel1);
panel1 = new java.awt.Panel();
panel1.setLayout(null);
panel1.setVisible(false);
panel1.setBounds(12,33,452,381);
tabPanel1.add(panel1);
scrollPane1 = new java.awt.ScrollPane(ScrollPane.SCROLLBARS_AS_NEEDED);
scrollPane1.setBounds(34,54,105,114);
panel1.add(scrollPane1);
panel6 = new java.awt.Panel();
panel6.setLayout(null);
panel6.setBounds(0,0,149,162);
scrollPane1.add(panel6);
button1 = new java.awt.Button();
button1.setLabel("button");
button1.setBounds(56,91,60,40);
panel6.add(button1);
horizontalScrollbar1 = new java.awt.Scrollbar(Scrollbar.HORIZONTAL);
horizontalScrollbar1.setBounds(175,56,80,16);
panel1.add(horizontalScrollbar1);
verticalScrollbar1 = new java.awt.Scrollbar(Scrollbar.VERTICAL);
verticalScrollbar1.setBounds(255,72,16,80);
panel1.add(verticalScrollbar1);
list1 = new java.awt.List(0,false);
list1.addItem("AWT");
list1.addItem("List");
panel1.add(list1);
list1.setBounds(278,59,70,47);
textField1 = new java.awt.TextField();
textField1.setText("TextField");
textField1.setBounds(279,129,69,22);
textField1.setFont(new Font("Dialog", Font.PLAIN, 10));
panel1.add(textField1);
textArea1 = new java.awt.TextArea();
textArea1.setText("TextArea");
textArea1.setBounds(360,59,83,46);
panel1.add(textArea1);
choice1 = new java.awt.Choice();
choice1.addItem("AWT");
choice1.addItem("Choice");
panel1.add(choice1);
choice1.setBounds(357,121,85,40);
panel7 = new java.awt.Panel();
panel7.setLayout(null);
panel7.setBounds(229,230,159,139);
panel7.setBackground(new Color(16711935));
panel1.add(panel7);
checkbox1 = new java.awt.Checkbox("checkbox");
checkbox1.setBounds(33,41,100,40);
checkbox1.setBackground(new Color(16711935));
panel7.add(checkbox1);
Group1 = new CheckboxGroup();
radioButton3 = new java.awt.Checkbox("radiobutton", Group1, false);
radioButton3.setBounds(31,8,100,40);
radioButton3.setBackground(new Color(16711935));
panel7.add(radioButton3);
button2 = new java.awt.Button();
button2.setLabel("button");
button2.setBounds(47,91,60,40);
panel7.add(button2);
label2 = new java.awt.Label("AWT Canvas");
label2.setBounds(93,236,86,51);
label2.setBackground(new Color(16711935));
panel1.add(label2);
canvas1 = new java.awt.Canvas();
canvas1.setBounds(49,230,159,139);
canvas1.setBackground(new Color(16711935));
panel1.add(canvas1);
panel2 = new java.awt.Panel();
panel2.setLayout(null);
panel2.setVisible(false);
panel2.setBounds(12,33,452,381);
tabPanel1.add(panel2);
calendar1 = new symantec.itools.awt.util.Calendar();
calendar1.setLayout(null);
calendar1.setBounds(28,43,285,207);
calendar1.setFont(new Font("Dialog", Font.BOLD, 10));
panel2.add(calendar1);
treeView1 = new symantec.itools.awt.TreeView();
treeView1.setLayout(null);
{
java.lang.String[] tempString = new java.lang.String[8];
tempString[0] = new java.lang.String("Root 1");
tempString[1] = new java.lang.String(" Sub 1");
tempString[2] = new java.lang.String(" Sub 2");
tempString[3] = new java.lang.String("Root2");
tempString[4] = new java.lang.String(" Sub 3");
tempString[5] = new java.lang.String(" Sub 4");
tempString[6] = new java.lang.String(" Sub 5");
tempString[7] = new java.lang.String(" Sub 6");
treeView1.setTreeStructure(tempString);
}
treeView1.setBounds(320,50,126,181);
treeView1.setBackground(new Color(16777215));
panel2.add(treeView1);
progressBar1 = new symantec.itools.awt.util.ProgressBar();
progressBar1.setBounds(39,312,409,38);
panel2.add(progressBar1);
label3 = new java.awt.Label("Calendar");
label3.setBounds(106,6,100,40);
panel2.add(label3);
label4 = new java.awt.Label("TreeView");
label4.setBounds(346,6,55,40);
panel2.add(label4);
label5 = new java.awt.Label("ProgreeBar");
label5.setBounds(205,261,81,40);
panel2.add(label5);
panel3 = new java.awt.Panel();
panel3.setLayout(null);
panel3.setVisible(false);
panel3.setBounds(12,33,452,381);
tabPanel1.add(panel3);
slideShow1 = new symantec.itools.multimedia.SlideShow();
try {
slideShow1.addImageAndDescription(symantec.itools.net.RelativeURL.getURL("images/little.gif"), "");
slideShow1.addImageAndDescription(symantec.itools.net.RelativeURL.getURL("images/little1.gif"), "");
slideShow1.addImageAndDescription(symantec.itools.net.RelativeURL.getURL("images/bigbowie.gif"), "");
} catch (Exception e) { }
slideShow1.setBounds(24,39,181,171);
panel3.add(slideShow1);
imageViewer1 = new symantec.itools.multimedia.ImageViewer();
try {
imageViewer1.setURL(symantec.itools.net.RelativeURL.getURL("images/gear.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
imageViewer1.setBounds(210,70,120,111);
panel3.add(imageViewer1);
scrollingText1 = new symantec.itools.multimedia.ScrollingText();
try {
java.lang.String[] tempString = new java.lang.String[1];
tempString[0] = new java.lang.String("Scrolling Text");
scrollingText1.setMessageList(tempString);
}
catch(java.beans.PropertyVetoException e) { }
scrollingText1.setBounds(188,224,255,27);
panel3.add(scrollingText1);
animator1 = new symantec.itools.multimedia.Animator();
try {
java.net.URL[] tempURL = new java.net.URL[13];
tempURL[0] = symantec.itools.net.RelativeURL.getURL("images/FN0.gif");
tempURL[1] = symantec.itools.net.RelativeURL.getURL("images/FN1.gif");
tempURL[2] = symantec.itools.net.RelativeURL.getURL("images/FN2.gif");
tempURL[3] = symantec.itools.net.RelativeURL.getURL("images/FN3.gif");
tempURL[4] = symantec.itools.net.RelativeURL.getURL("images/FN4.gif");
tempURL[5] = symantec.itools.net.RelativeURL.getURL("images/FN5.gif");
tempURL[6] = symantec.itools.net.RelativeURL.getURL("images/FN6.gif");
tempURL[7] = symantec.itools.net.RelativeURL.getURL("images/FN7.gif");
tempURL[8] = symantec.itools.net.RelativeURL.getURL("images/FN8.gif");
tempURL[9] = symantec.itools.net.RelativeURL.getURL("images/FN9.gif");
tempURL[10] = symantec.itools.net.RelativeURL.getURL("images/FN10.gif");
tempURL[11] = symantec.itools.net.RelativeURL.getURL("images/FN11.gif");
tempURL[12] = symantec.itools.net.RelativeURL.getURL("images/FN12.gif");
animator1.setImageList(tempURL);
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
animator1.setBounds(54,287,358,91);
panel3.add(animator1);
label6 = new java.awt.Label("Slideshow");
label6.setBounds(80,7,64,26);
panel3.add(label6);
button3 = new java.awt.Button();
button3.setActionCommand("button");
button3.setLabel("Next");
button3.setBounds(40,216,60,40);
panel3.add(button3);
button4 = new java.awt.Button();
button4.setActionCommand("button");
button4.setLabel("Previous");
button4.setBounds(121,216,60,40);
panel3.add(button4);
label7 = new java.awt.Label("ImageViewer");
label7.setBounds(234,7,75,26);
panel3.add(label7);
label8 = new java.awt.Label("Animator");
label8.setBounds(194,259,87,27);
panel3.add(label8);
button5 = new java.awt.Button();
button5.setActionCommand("button");
button5.setLabel("Fireworks");
button5.setBounds(353,52,90,24);
panel3.add(button5);
button6 = new java.awt.Button();
button6.setActionCommand("button");
button6.setLabel("Plasma");
button6.setBounds(353,84,90,24);
panel3.add(button6);
button7 = new java.awt.Button();
button7.setActionCommand("button");
button7.setLabel("SoundPlayer");
button7.setBounds(353,116,90,24);
panel3.add(button7);
button8 = new java.awt.Button();
button8.setActionCommand("button");
button8.setLabel("Emblaze");
button8.setBounds(353,148,90,24);
panel3.add(button8);
button9 = new java.awt.Button();
button9.setActionCommand("button");
button9.setLabel("NervousText");
button9.setBounds(353,180,90,24);
panel3.add(button9);
panel4 = new java.awt.Panel();
panel4.setLayout(null);
panel4.setVisible(false);
panel4.setBounds(12,33,452,381);
tabPanel1.add(panel4);
line1 = new symantec.itools.awt.shape.Line();
line1.setBounds(43,38,139,133);
panel4.add(line1);
horizontalLine1 = new symantec.itools.awt.shape.HorizontalLine();
horizontalLine1.setBounds(20,71,316,2);
panel4.add(horizontalLine1);
rect1 = new symantec.itools.awt.shape.Rect();
rect1.setBounds(80,234,239,63);
panel4.add(rect1);
square1 = new symantec.itools.awt.shape.Square();
square1.setBounds(242,123,86,86);
panel4.add(square1);
verticalLine1 = new symantec.itools.awt.shape.VerticalLine();
verticalLine1.setBounds(360,25,2,305);
panel4.add(verticalLine1);
circle1 = new symantec.itools.awt.shape.Circle();
circle1.setBounds(33,119,99,99);
panel4.add(circle1);
ellipse1 = new symantec.itools.awt.shape.Ellipse();
ellipse1.setBounds(189,19,115,37);
panel4.add(ellipse1);
panel5 = new java.awt.Panel();
panel5.setLayout(null);
panel5.setVisible(false);
panel5.setBounds(12,33,452,381);
tabPanel1.add(panel5);
keyPressManagerPanel1 = new symantec.itools.awt.KeyPressManagerPanel();
keyPressManagerPanel1.setLayout(null);
keyPressManagerPanel1.setBounds(29,25,145,159);
keyPressManagerPanel1.setBackground(new Color(16756655));
panel5.add(keyPressManagerPanel1);
textField2 = new java.awt.TextField();
textField2.setBounds(24,9,100,40);
textField2.setBackground(new Color(16777215));
keyPressManagerPanel1.add(textField2);
textField3 = new java.awt.TextField();
textField3.setBounds(24,60,100,40);
textField3.setBackground(new Color(16777215));
keyPressManagerPanel1.add(textField3);
textField4 = new java.awt.TextField();
textField4.setBounds(24,111,100,40);
textField4.setBackground(new Color(16777215));
keyPressManagerPanel1.add(textField4);
borderPanel1 = new symantec.itools.awt.BorderPanel();
try {
borderPanel1.setLabel("Border Panel");
}
catch(java.beans.PropertyVetoException e) { }
try {
borderPanel1.setAlignStyle(symantec.itools.awt.BorderPanel.ALIGN_LEFT);
}
catch(java.beans.PropertyVetoException e) { }
borderPanel1.setLayout(null);
borderPanel1.setBounds(208,17,199,104);
panel5.add(borderPanel1);
radioButtonGroupPanel1 = new symantec.itools.awt.RadioButtonGroupPanel();
radioButtonGroupPanel1.setLayout(new FlowLayout(FlowLayout.CENTER,5,5));
radioButtonGroupPanel1.setBounds(37,209,158,67);
radioButtonGroupPanel1.setBackground(new Color(16777215));
panel5.add(radioButtonGroupPanel1);
radioButton1 = new java.awt.Checkbox("radiobutton");
radioButton1.setBounds(33,5,92,23);
radioButton1.setBackground(new Color(16777215));
radioButtonGroupPanel1.add(radioButton1);
radioButton2 = new java.awt.Checkbox("radiobutton");
radioButton2.setBounds(33,33,92,23);
radioButton2.setBackground(new Color(16777215));
radioButtonGroupPanel1.add(radioButton2);
imagePanel1 = new symantec.itools.awt.ImagePanel();
try {
imagePanel1.setImageURL(symantec.itools.net.RelativeURL.getURL("images/gear.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
imagePanel1.setLayout(null);
imagePanel1.setBounds(211,135,193,144);
panel5.add(imagePanel1);
toolBarPanel1 = new symantec.itools.awt.util.ToolBarPanel();
toolBarPanel1.setLayout(new FlowLayout(FlowLayout.LEFT,0,0));
toolBarPanel1.setBounds(13,298,254,67);
panel5.add(toolBarPanel1);
imageButton1 = new symantec.itools.awt.ImageButton();
try {
imageButton1.setImageURL(symantec.itools.net.RelativeURL.getURL("images/lightbulb.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
imageButton1.setBounds(0,0,54,54);
toolBarPanel1.add(imageButton1);
imageButton2 = new symantec.itools.awt.ImageButton();
try {
imageButton2.setImageURL(symantec.itools.net.RelativeURL.getURL("images/penny.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
imageButton2.setBounds(54,0,54,54);
toolBarPanel1.add(imageButton2);
toolBarSpacer1 = new symantec.itools.awt.util.ToolBarSpacer();
toolBarSpacer1.setBounds(108,0,10,54);
toolBarPanel1.add(toolBarSpacer1);
toolBarSpacer2 = new symantec.itools.awt.util.ToolBarSpacer();
toolBarSpacer2.setBounds(118,0,10,54);
toolBarPanel1.add(toolBarSpacer2);
toolBarSpacer3 = new symantec.itools.awt.util.ToolBarSpacer();
toolBarSpacer3.setBounds(128,0,10,54);
toolBarPanel1.add(toolBarSpacer3);
toolBarSpacer4 = new symantec.itools.awt.util.ToolBarSpacer();
toolBarSpacer4.setBounds(138,0,10,54);
toolBarPanel1.add(toolBarSpacer4);
imageButton3 = new symantec.itools.awt.ImageButton();
try {
imageButton3.setImageURL(symantec.itools.net.RelativeURL.getURL("images/sphere.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
imageButton3.setBounds(148,0,54,54);
toolBarPanel1.add(imageButton3);
panel8 = new java.awt.Panel();
panel8.setLayout(null);
panel8.setVisible(false);
panel8.setBounds(12,33,452,381);
tabPanel1.add(panel8);
imageListBox1 = new symantec.itools.awt.ImageListBox();
imageListBox1.setLayout(null);
try {
java.lang.String[] tempString = new java.lang.String[3];
tempString[0] = new java.lang.String("Image");
tempString[1] = new java.lang.String("List");
tempString[2] = new java.lang.String("Box");
imageListBox1.setListItems(tempString);
}
catch(java.beans.PropertyVetoException e) { }
imageListBox1.setBounds(10,43,88,111);
imageListBox1.setBackground(new Color(16777215));
panel8.add(imageListBox1);
directionButton1 = new symantec.itools.awt.DirectionButton();
try {
directionButton1.setLinkURL(new java.net.URL("http://cafe.symantec.com/"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
directionButton1.setBounds(10,282,55,55);
panel8.add(directionButton1);
directionButton1.setCursor(new Cursor(Cursor.HAND_CURSOR));
monthSpinner1 = new symantec.itools.awt.util.spinner.MonthSpinner();
monthSpinner1.setLayout(null);
monthSpinner1.setBounds(324,43,104,27);
panel8.add(monthSpinner1);
listSpinner1 = new symantec.itools.awt.util.spinner.ListSpinner();
listSpinner1.setLayout(null);
try {
java.lang.String[] tempString = new java.lang.String[3];
tempString[0] = new java.lang.String("Symantec");
tempString[1] = new java.lang.String("List");
tempString[2] = new java.lang.String("Spinner");
listSpinner1.setListItems(tempString);
}
catch(java.beans.PropertyVetoException e) { }
listSpinner1.setBounds(324,105,121,27);
panel8.add(listSpinner1);
daySpinner1 = new symantec.itools.awt.util.spinner.DaySpinner();
daySpinner1.setLayout(null);
daySpinner1.setBounds(324,74,104,27);
panel8.add(daySpinner1);
numericSpinner1 = new symantec.itools.awt.util.spinner.NumericSpinner();
numericSpinner1.setLayout(null);
numericSpinner1.setBounds(324,136,104,27);
panel8.add(numericSpinner1);
verticalSlider1 = new symantec.itools.awt.VerticalSlider();
verticalSlider1.setBounds(273,218,51,113);
panel8.add(verticalSlider1);
horizontalSlider1 = new symantec.itools.awt.HorizontalSlider();
try {
horizontalSlider1.setMaxValue(100);
}
catch(java.beans.PropertyVetoException e) { }
try {
horizontalSlider1.setTickFreq(10);
}
catch(java.beans.PropertyVetoException e) { }
horizontalSlider1.setBounds(325,282,119,48);
panel8.add(horizontalSlider1);
imageHTMLLink1 = new symantec.itools.awt.ImageHTMLLink();
try {
imageHTMLLink1.setImageURL(symantec.itools.net.RelativeURL.getURL("images/penny.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
imageHTMLLink1.setBounds(78,281,55,55);
panel8.add(imageHTMLLink1);
imageHTMLLink1.setCursor(new Cursor(Cursor.HAND_CURSOR));
imageButton4 = new symantec.itools.awt.ImageButton();
try {
imageButton4.setImageURL(symantec.itools.net.RelativeURL.getURL("images/sphere.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
imageButton4.setBounds(149,281,55,55);
panel8.add(imageButton4);
imageButton4.setCursor(new Cursor(Cursor.HAND_CURSOR));
labelHTMLLink1 = new symantec.itools.awt.LabelHTMLLink();
try {
labelHTMLLink1.setText("LabelHTMLLink");
}
catch(java.beans.PropertyVetoException e) { }
try {
labelHTMLLink1.setLinkURL(new java.net.URL("http://www.symantec.com/"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
labelHTMLLink1.setBounds(108,86,96,29);
panel8.add(labelHTMLLink1);
labelHTMLLink1.setCursor(new Cursor(Cursor.HAND_CURSOR));
labelButton1 = new symantec.itools.awt.LabelButton();
try {
labelButton1.setText("LabelButton");
}
catch(java.beans.PropertyVetoException e) { }
labelButton1.setBounds(108,43,96,29);
panel8.add(labelButton1);
labelButton1.setCursor(new Cursor(Cursor.HAND_CURSOR));
rollOverButton1 = new symantec.itools.awt.RollOverButton();
try {
rollOverButton1.setOverURL(symantec.itools.net.RelativeURL.getURL("images/mouseover.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
try {
rollOverButton1.setDownURL(symantec.itools.net.RelativeURL.getURL("images/mouseclicked.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
try {
rollOverButton1.setStandardURL(symantec.itools.net.RelativeURL.getURL("images/noaction.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
rollOverButton1.setBounds(207,289,68,39);
panel8.add(rollOverButton1);
rollOverButton1.setCursor(new Cursor(Cursor.HAND_CURSOR));
label3D1 = new symantec.itools.awt.Label3D();
try {
label3D1.setBorderedColor(new Color(255));
}
catch(java.beans.PropertyVetoException e) { }
try {
label3D1.setText("Label3D");
}
catch(java.beans.PropertyVetoException e) { }
try {
label3D1.setBorderIndent(symantec.itools.awt.Label3D.INDENT_TWO);
}
catch(java.beans.PropertyVetoException e) { }
try {
label3D1.setTextColor(new Color(16711680));
}
catch(java.beans.PropertyVetoException e) { }
label3D1.setBounds(108,127,96,29);
panel8.add(label3D1);
formattedTextField1 = new symantec.itools.awt.FormattedTextField();
formattedTextField1.setText("FormattedTextField");
formattedTextField1.setBounds(120,347,128,23);
formattedTextField1.setBackground(new Color(16777215));
panel8.add(formattedTextField1);
formattedTextField1.setCursor(new Cursor(Cursor.TEXT_CURSOR));
stateCheckBox1 = new symantec.itools.awt.StateCheckBox();
try {
stateCheckBox1.setStyle(symantec.itools.awt.StateCheckBox.THREE_STATE);
}
catch(java.beans.PropertyVetoException e) { }
stateCheckBox1.setBounds(257,351,15,14);
panel8.add(stateCheckBox1);
label9 = new java.awt.Label("StateCheckBox");
label9.setBounds(277,340,88,35);
panel8.add(label9);
multiList1 = new symantec.itools.awt.MultiList();
multiList1.setLayout(null);
try {
java.lang.String[] tempString = new java.lang.String[1];
tempString[0] = new java.lang.String("Col1;Col2");
multiList1.setListItems(tempString);
}
catch(java.beans.PropertyVetoException e) { }
try {
java.lang.String[] tempString = new java.lang.String[2];
tempString[0] = new java.lang.String("Symantec");
tempString[1] = new java.lang.String("MultiList");
multiList1.setHeadings(tempString);
}
catch(java.beans.PropertyVetoException e) { }
multiList1.setBounds(11,165,194,81);
multiList1.setBackground(new Color(16777215));
panel8.add(multiList1);
wrappingLabel1 = new symantec.itools.awt.WrappingLabel();
try {
wrappingLabel1.setText("This is a Symantec Wrapping Label");
}
catch(java.beans.PropertyVetoException e) { }
wrappingLabel1.setBounds(222,43,91,111);
wrappingLabel1.setBackground(new Color(16777215));
panel8.add(wrappingLabel1);
comboBox1 = new symantec.itools.awt.ComboBox();
comboBox1.setLayout(null);
try {
java.lang.String[] tempString = new java.lang.String[2];
tempString[0] = new java.lang.String("Symantec");
tempString[1] = new java.lang.String("ComboBox");
comboBox1.setListItems(tempString);
}
catch(java.beans.PropertyVetoException e) { }
comboBox1.setBounds(324,173,105,26);
panel8.add(comboBox1);
label10 = new java.awt.Label("Various Buttons");
label10.setBounds(12,245,88,35);
panel8.add(label10);
label11 = new java.awt.Label("Various Spinners");
label11.setBounds(324,5,106,35);
panel8.add(label11);
label12 = new java.awt.Label("Sliders");
label12.setBounds(331,230,106,35);
panel8.add(label12);
statusBar1 = new symantec.itools.awt.StatusBar();
statusBar1.setLayout(new BorderLayout(0,0));
statusBar1.setBounds(80,436,465,43);
add(statusBar1);
//}}
//{{REGISTER_LISTENERS
SymAction lSymAction = new SymAction();
timer1.addActionListener(lSymAction);
button3.addActionListener(lSymAction);
button4.addActionListener(lSymAction);
imageButton1.addActionListener(lSymAction);
imageButton2.addActionListener(lSymAction);
imageButton3.addActionListener(lSymAction);
directionButton1.addActionListener(lSymAction);
imageHTMLLink1.addActionListener(lSymAction);
imageButton4.addActionListener(lSymAction);
horizontalSlider1.addActionListener(lSymAction);
SymMouse aSymMouse = new SymMouse();
canvas1.addMouseListener(aSymMouse);
radioButton3.addMouseListener(aSymMouse);
button2.addMouseListener(aSymMouse);
checkbox1.addMouseListener(aSymMouse);
choice1.addMouseListener(aSymMouse);
textArea1.addMouseListener(aSymMouse);
list1.addMouseListener(aSymMouse);
calendar1.addMouseListener(aSymMouse);
treeView1.addMouseListener(aSymMouse);
progressBar1.addMouseListener(aSymMouse);
slideShow1.addMouseListener(aSymMouse);
imageViewer1.addMouseListener(aSymMouse);
animator1.addMouseListener(aSymMouse);
button3.addMouseListener(aSymMouse);
button4.addMouseListener(aSymMouse);
scrollingText1.addMouseListener(aSymMouse);
button5.addMouseListener(aSymMouse);
button6.addMouseListener(aSymMouse);
button7.addMouseListener(aSymMouse);
button8.addMouseListener(aSymMouse);
button9.addMouseListener(aSymMouse);
imageListBox1.addMouseListener(aSymMouse);
labelButton1.addMouseListener(aSymMouse);
labelHTMLLink1.addMouseListener(aSymMouse);
label3D1.addMouseListener(aSymMouse);
wrappingLabel1.addMouseListener(aSymMouse);
multiList1.addMouseListener(aSymMouse);
directionButton1.addMouseListener(aSymMouse);
imageHTMLLink1.addMouseListener(aSymMouse);
imageButton4.addMouseListener(aSymMouse);
rollOverButton1.addMouseListener(aSymMouse);
horizontalSlider1.addMouseListener(aSymMouse);
label9.addMouseListener(aSymMouse);
stateCheckBox1.addMouseListener(aSymMouse);
formattedTextField1.addMouseListener(aSymMouse);
keyPressManagerPanel1.addMouseListener(aSymMouse);
borderPanel1.addMouseListener(aSymMouse);
imagePanel1.addMouseListener(aSymMouse);
radioButtonGroupPanel1.addMouseListener(aSymMouse);
toolBarPanel1.addMouseListener(aSymMouse);
SymComponent aSymComponent = new SymComponent();
label9.addComponentListener(aSymComponent);
button5.addActionListener(lSymAction);
button6.addActionListener(lSymAction);
button8.addActionListener(lSymAction);
button9.addActionListener(lSymAction);
button7.addActionListener(lSymAction);
textField1.addMouseListener(aSymMouse);
//}}
}
//{{DECLARE_CONTROLS
symantec.itools.util.Timer timer1;
symantec.itools.awt.util.StatusScroller statusScroller1;
symantec.itools.awt.TabPanel tabPanel1;
java.awt.Panel panel1;
java.awt.ScrollPane scrollPane1;
java.awt.Panel panel6;
java.awt.Button button1;
java.awt.Scrollbar horizontalScrollbar1;
java.awt.Scrollbar verticalScrollbar1;
java.awt.List list1;
java.awt.TextField textField1;
java.awt.TextArea textArea1;
java.awt.Choice choice1;
java.awt.Panel panel7;
java.awt.Checkbox checkbox1;
java.awt.Checkbox radioButton3;
CheckboxGroup Group1;
java.awt.Button button2;
java.awt.Label label2;
java.awt.Canvas canvas1;
java.awt.Panel panel2;
symantec.itools.awt.util.Calendar calendar1;
symantec.itools.awt.TreeView treeView1;
symantec.itools.awt.util.ProgressBar progressBar1;
java.awt.Label label3;
java.awt.Label label4;
java.awt.Label label5;
java.awt.Panel panel3;
symantec.itools.multimedia.SlideShow slideShow1;
symantec.itools.multimedia.ImageViewer imageViewer1;
symantec.itools.multimedia.ScrollingText scrollingText1;
symantec.itools.multimedia.Animator animator1;
java.awt.Label label6;
java.awt.Button button3;
java.awt.Button button4;
java.awt.Label label7;
java.awt.Label label8;
java.awt.Button button5;
java.awt.Button button6;
java.awt.Button button7;
java.awt.Button button8;
java.awt.Button button9;
java.awt.Panel panel4;
symantec.itools.awt.shape.Line line1;
symantec.itools.awt.shape.HorizontalLine horizontalLine1;
symantec.itools.awt.shape.Rect rect1;
symantec.itools.awt.shape.Square square1;
symantec.itools.awt.shape.VerticalLine verticalLine1;
symantec.itools.awt.shape.Circle circle1;
symantec.itools.awt.shape.Ellipse ellipse1;
java.awt.Panel panel5;
symantec.itools.awt.KeyPressManagerPanel keyPressManagerPanel1;
java.awt.TextField textField2;
java.awt.TextField textField3;
java.awt.TextField textField4;
symantec.itools.awt.BorderPanel borderPanel1;
symantec.itools.awt.RadioButtonGroupPanel radioButtonGroupPanel1;
java.awt.Checkbox radioButton1;
java.awt.Checkbox radioButton2;
symantec.itools.awt.ImagePanel imagePanel1;
symantec.itools.awt.util.ToolBarPanel toolBarPanel1;
symantec.itools.awt.ImageButton imageButton1;
symantec.itools.awt.ImageButton imageButton2;
symantec.itools.awt.util.ToolBarSpacer toolBarSpacer1;
symantec.itools.awt.util.ToolBarSpacer toolBarSpacer2;
symantec.itools.awt.util.ToolBarSpacer toolBarSpacer3;
symantec.itools.awt.util.ToolBarSpacer toolBarSpacer4;
symantec.itools.awt.ImageButton imageButton3;
java.awt.Panel panel8;
symantec.itools.awt.ImageListBox imageListBox1;
symantec.itools.awt.DirectionButton directionButton1;
symantec.itools.awt.util.spinner.MonthSpinner monthSpinner1;
symantec.itools.awt.util.spinner.ListSpinner listSpinner1;
symantec.itools.awt.util.spinner.DaySpinner daySpinner1;
symantec.itools.awt.util.spinner.NumericSpinner numericSpinner1;
symantec.itools.awt.VerticalSlider verticalSlider1;
symantec.itools.awt.HorizontalSlider horizontalSlider1;
symantec.itools.awt.ImageHTMLLink imageHTMLLink1;
symantec.itools.awt.ImageButton imageButton4;
symantec.itools.awt.LabelHTMLLink labelHTMLLink1;
symantec.itools.awt.LabelButton labelButton1;
symantec.itools.awt.RollOverButton rollOverButton1;
symantec.itools.awt.Label3D label3D1;
symantec.itools.awt.FormattedTextField formattedTextField1;
symantec.itools.awt.StateCheckBox stateCheckBox1;
java.awt.Label label9;
symantec.itools.awt.MultiList multiList1;
symantec.itools.awt.WrappingLabel wrappingLabel1;
symantec.itools.awt.ComboBox comboBox1;
java.awt.Label label10;
java.awt.Label label11;
java.awt.Label label12;
symantec.itools.awt.StatusBar statusBar1;
//}}
class SymAction implements java.awt.event.ActionListener
{
public void actionPerformed(java.awt.event.ActionEvent event)
{
Object object = event.getSource();
if (object == timer1)
timer1_TimerEvent(event);
else if (object == button3)
button3_Action(event);
else if (object == button4)
button4_Action(event);
else if (object == imageButton1)
imageButton1_actionPerformed(event);
else if (object == imageButton2)
imageButton2_actionPerformed(event);
else if (object == imageButton3)
imageButton3_actionPerformed(event);
else if (object == directionButton1)
directionButton1_actionPerformed(event);
else if (object == imageHTMLLink1)
imageHTMLLink1_actionPerformed(event);
else if (object == imageButton4)
imageButton4_actionPerformed(event);
else if (object == horizontalSlider1)
horizontalSlider1_actionPerformed(event);
else if (object == button5)
button5_Action(event);
else if (object == button6)
button6_Action(event);
else if (object == button8)
button8_Action(event);
else if (object == button9)
button9_Action(event);
else if (object == button7)
button7_Action(event);
}
}
void timer1_TimerEvent(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Increment the progress bar value...
{
try {
progressBar1.setValue(progressBar1.getValue() + 1);
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button3_Action(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Go to the SlideShow's next image
slideShow1.nextImage();
//}}
}
void button4_Action(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Go to the SlideShow's previous image
slideShow1.previousImage();
//}}
}
void imageButton1_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the relative image to be displayed on the panel...
{
try {
imagePanel1.setImageURL(symantec.itools.net.RelativeURL.getURL("images/lightbulb.gif"));
}
catch(java.net.MalformedURLException e) { }
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageButton2_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the relative image to be displayed on the panel...
{
try {
imagePanel1.setImageURL(symantec.itools.net.RelativeURL.getURL("images/penny.gif"));
}
catch(java.net.MalformedURLException e) { }
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageButton3_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the relative image to be displayed on the panel...
{
try {
imagePanel1.setImageURL(symantec.itools.net.RelativeURL.getURL("images/sphere.gif"));
}
catch(java.net.MalformedURLException e) { }
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void directionButton1_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the relative image to be displayed on the button...
{
try {
imageHTMLLink1.setImageURL(symantec.itools.net.RelativeURL.getURL("images/lightbulb.gif"));
}
catch(java.net.MalformedURLException e) { }
catch(java.beans.PropertyVetoException e) { }
}
//}}
//{{CONNECTION
// Set the relative image to be displayed on the button...
{
try {
imageButton4.setImageURL(symantec.itools.net.RelativeURL.getURL("images/gear.gif"));
}
catch(java.net.MalformedURLException e) { }
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageHTMLLink1_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the button arrow direction... Point the button arrow DOWN
{
try {
directionButton1.setDirection(directionButton1.DOWN);
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageButton4_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the button arrow direction... Point the button arrow UP
{
try {
directionButton1.setDirection(directionButton1.UP);
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void horizontalSlider1_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the delay amount... Get the current value of the HorizontalSlider
{
try {
statusScroller1.setDelay(horizontalSlider1.getValue());
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
class SymMouse extends java.awt.event.MouseAdapter
{
public void mouseExited(java.awt.event.MouseEvent event)
{
Object object = event.getSource();
if (object == canvas1)
canvas1_MouseExit(event);
else if (object == radioButton3)
radioButton3_MouseExit(event);
else if (object == button2)
button2_MouseExit(event);
else if (object == checkbox1)
checkbox1_MouseExit(event);
else if (object == choice1)
choice1_MouseExit(event);
else if (object == textArea1)
textArea1_MouseExit(event);
else if (object == list1)
list1_MouseExit(event);
else if (object == calendar1)
calendar1_mouseExited(event);
else if (object == treeView1)
treeView1_mouseExited(event);
else if (object == progressBar1)
progressBar1_mouseExited(event);
else if (object == slideShow1)
slideShow1_MouseExit(event);
else if (object == imageViewer1)
imageViewer1_mouseExited(event);
else if (object == animator1)
animator1_mouseExited(event);
else if (object == button3)
button3_MouseExit(event);
else if (object == scrollingText1)
scrollingText1_mouseExited(event);
else if (object == button5)
button5_MouseExit(event);
else if (object == button6)
button6_MouseExit(event);
else if (object == button7)
button7_MouseExit(event);
else if (object == button8)
button8_MouseExit(event);
else if (object == button9)
button9_MouseExit(event);
else if (object == imageListBox1)
imageListBox1_mouseExited(event);
else if (object == labelButton1)
labelButton1_mouseExited(event);
else if (object == labelHTMLLink1)
labelHTMLLink1_mouseExited(event);
else if (object == label3D1)
label3D1_mouseExited(event);
else if (object == wrappingLabel1)
wrappingLabel1_mouseExited(event);
else if (object == multiList1)
multiList1_mouseExited(event);
else if (object == directionButton1)
directionButton1_mouseExited(event);
else if (object == imageHTMLLink1)
imageHTMLLink1_mouseExited(event);
else if (object == imageButton4)
imageButton4_mouseExited(event);
else if (object == rollOverButton1)
rollOverButton1_mouseExited(event);
else if (object == horizontalSlider1)
horizontalSlider1_mouseExited(event);
else if (object == label9)
label9_MouseExit(event);
else if (object == stateCheckBox1)
stateCheckBox1_mouseExited(event);
else if (object == formattedTextField1)
formattedTextField1_mouseExited(event);
else if (object == keyPressManagerPanel1)
keyPressManagerPanel1_mouseExited(event);
else if (object == borderPanel1)
borderPanel1_mouseExited(event);
else if (object == imagePanel1)
imagePanel1_mouseExited(event);
else if (object == radioButtonGroupPanel1)
radioButtonGroupPanel1_mouseExited(event);
else if (object == toolBarPanel1)
toolBarPanel1_mouseExited(event);
else if (object == textField1)
textField1_MouseExit(event);
}
public void mouseEntered(java.awt.event.MouseEvent event)
{
Object object = event.getSource();
if (object == canvas1)
canvas1_MouseEnter(event);
else if (object == radioButton3)
radioButton3_MouseEnter(event);
else if (object == button2)
button2_MouseEnter(event);
else if (object == checkbox1)
checkbox1_MouseEnter(event);
else if (object == choice1)
choice1_MouseEnter(event);
else if (object == textArea1)
textArea1_MouseEnter(event);
else if (object == list1)
list1_MouseEnter(event);
else if (object == calendar1)
calendar1_mouseEntered(event);
else if (object == treeView1)
treeView1_mouseEntered(event);
else if (object == progressBar1)
progressBar1_mouseEntered(event);
else if (object == slideShow1)
slideShow1_MouseEnter(event);
else if (object == imageViewer1)
imageViewer1_mouseEntered(event);
else if (object == animator1)
animator1_mouseEntered(event);
else if (object == button3)
button3_MouseEnter(event);
else if (object == button4)
button4_MouseEnter(event);
else if (object == scrollingText1)
scrollingText1_mouseEntered(event);
else if (object == button5)
button5_MouseEnter(event);
else if (object == button6)
button6_MouseEnter(event);
else if (object == button7)
button7_MouseEnter(event);
else if (object == button8)
button8_MouseEnter(event);
else if (object == button9)
button9_MouseEnter(event);
else if (object == imageListBox1)
imageListBox1_mouseEntered(event);
else if (object == labelButton1)
labelButton1_mouseEntered(event);
else if (object == labelHTMLLink1)
labelHTMLLink1_mouseEntered(event);
else if (object == label3D1)
label3D1_mouseEntered(event);
else if (object == wrappingLabel1)
wrappingLabel1_mouseEntered(event);
else if (object == multiList1)
multiList1_mouseEntered(event);
else if (object == directionButton1)
directionButton1_mouseEntered(event);
else if (object == imageHTMLLink1)
imageHTMLLink1_mouseEntered(event);
else if (object == imageButton4)
imageButton4_mouseEntered(event);
else if (object == rollOverButton1)
rollOverButton1_mouseEntered(event);
else if (object == horizontalSlider1)
horizontalSlider1_mouseEntered(event);
else if (object == label9)
label9_MouseEnter(event);
else if (object == stateCheckBox1)
stateCheckBox1_mouseEntered(event);
else if (object == formattedTextField1)
formattedTextField1_mouseEntered(event);
else if (object == keyPressManagerPanel1)
keyPressManagerPanel1_mouseEntered(event);
else if (object == borderPanel1)
borderPanel1_mouseEntered(event);
else if (object == imagePanel1)
imagePanel1_mouseEntered(event);
else if (object == radioButtonGroupPanel1)
radioButtonGroupPanel1_mouseEntered(event);
else if (object == toolBarPanel1)
toolBarPanel1_mouseEntered(event);
else if (object == textField1)
textField1_MouseEnter(event);
}
}
void canvas1_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("AWT Canvas");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void canvas1_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void radioButton3_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("AWT RadioButton");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void radioButton3_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button2_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("AWT Button");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button2_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void checkbox1_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("AWT CheckBox");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void checkbox1_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void choice1_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("AWT Choice");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void choice1_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void textArea1_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("AWT TextArea");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void textArea1_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void list1_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("AWT List");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void list1_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void calendar1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Calendar");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void calendar1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void treeView1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Treeview");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void treeView1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void progressBar1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec ProgressBar");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void progressBar1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void slideShow1_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Slideshow");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void slideShow1_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageViewer1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Image Viewer");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageViewer1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void animator1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Animator");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void animator1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button3_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Show the Slideshow's next Image");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button3_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button4_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Show the Slideshow's previous Image");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void scrollingText1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text color...
{
try {
statusBar1.setStatusText("Symantec Scrolling Text");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void scrollingText1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button5_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Fireworks");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button5_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button6_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Plasma");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button6_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button7_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Sound Player");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button7_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button8_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Geo Emblaze");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button8_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button9_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Nervous Text");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void button9_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageListBox1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Image List Box");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageListBox1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void labelButton1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Label Button");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void labelButton1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void labelHTMLLink1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Label HTML Link");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void labelHTMLLink1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void label3D1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Label3D");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void label3D1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void wrappingLabel1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Wrapping Label");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void wrappingLabel1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void multiList1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec MultiList");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void multiList1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void directionButton1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Direction Button");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void directionButton1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageHTMLLink1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Image HTML Link");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageHTMLLink1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageButton4_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Image Button");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imageButton4_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void rollOverButton1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Rollover Button");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void rollOverButton1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void horizontalSlider1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Use this slider to speed up or slow down the Status Bar Scrolling Text");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void horizontalSlider1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void label9_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec State Check Box");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void label9_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void stateCheckBox1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec State Check Box");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void stateCheckBox1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void formattedTextField1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Formatted Text Field");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void formattedTextField1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void keyPressManagerPanel1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Keypress Manager Panel");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void keyPressManagerPanel1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void borderPanel1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Border Panel");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void borderPanel1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imagePanel1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Image Panel");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void imagePanel1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void radioButtonGroupPanel1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec RadioButton Group Panel");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void radioButtonGroupPanel1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void toolBarPanel1_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Symantec Toolbar Panel - with Spacers");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void toolBarPanel1_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
class SymComponent extends java.awt.event.ComponentAdapter
{
public void componentHidden(java.awt.event.ComponentEvent event)
{
Object object = event.getSource();
if (object == label9)
label9_ComponentHidden(event);
}
}
void label9_ComponentHidden(java.awt.event.ComponentEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Toggle enabled
{
stateCheckBox1.setEnabled(!stateCheckBox1.isEnabled());
}
//}}
}
void button5_Action(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Create and show the Frame with a title...
(new FireWorksClass("Symantec FireWorks")).show();
//}}
}
void button6_Action(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Create and show the Frame with a title...
(new PlasmaClass("Symantec Plasma")).show();
//}}
}
void button8_Action(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Create and show the Frame with a title...
(new EmblazeClass("Geo Emblaze")).show();
//}}
}
void button9_Action(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Create and show the Frame
(new NervousTextClass()).show();
//}}
}
void button7_Action(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Create and show the Frame with a title...
(new SoundPlayerClass("Symantec Sound Player")).show();
//}}
}
void textField1_MouseEnter(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("AWT TextField");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
void textField1_MouseExit(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(java.beans.PropertyVetoException e) { }
}
//}}
}
}