home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 November
/
Chip_1998-11_cd.bin
/
tema
/
Cafe
/
WDESAMPL.BIN
/
Applet1.java
< prev
next >
Wrap
Text File
|
1998-02-26
|
80KB
|
2,881 lines
/*
A basic extension of the java.applet.Applet class
*/
import java.awt.*;
import java.applet.*;
import java.net.URL;
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.*;
import symantec.itools.awt.util.ToolBarPanel;
import symantec.itools.awt.RadioButtonGroupPanel;
import symantec.itools.awt.shape.Square;
import symantec.itools.multimedia.ScrollingText;
import symantec.itools.awt.MultiList;
import symantec.itools.awt.ImageHTMLLink;
import symantec.itools.awt.FormattedTextField;
import symantec.itools.awt.ImageButton;
import symantec.itools.awt.shape.Rect;
import symantec.itools.awt.ImagePanel;
import symantec.itools.awt.KeyPressManagerPanel;
import symantec.itools.awt.util.StatusScroller;
import symantec.itools.awt.shape.Circle;
import symantec.itools.awt.TreeView;
import symantec.itools.awt.shape.Line;
import symantec.itools.awt.util.ToolBarSpacer;
import symantec.itools.awt.BorderPanel;
import symantec.itools.awt.util.spinner.ListSpinner;
import symantec.itools.awt.RollOverButton;
import symantec.itools.awt.shape.HorizontalLine;
import symantec.itools.awt.TabPanel;
import symantec.itools.awt.ImageListBox;
import symantec.itools.awt.StatusBar;
import symantec.itools.awt.Label3D;
import symantec.itools.awt.HorizontalSlider;
import symantec.itools.awt.VerticalSlider;
import symantec.itools.awt.StateCheckBox;
import symantec.itools.awt.ComboBox;
import symantec.itools.awt.util.ProgressBar;
import symantec.itools.awt.LabelButton;
import symantec.itools.multimedia.Animator;
import symantec.itools.awt.shape.Ellipse;
import symantec.itools.awt.util.spinner.DaySpinner;
import symantec.itools.awt.util.spinner.MonthSpinner;
import symantec.itools.awt.WrappingLabel;
import symantec.itools.awt.DirectionButton;
import symantec.itools.awt.util.spinner.NumericSpinner;
import symantec.itools.awt.util.Calendar;
import symantec.itools.multimedia.ImageViewer;
import symantec.itools.awt.LabelHTMLLink;
import symantec.itools.awt.shape.VerticalLine;
import symantec.itools.net.RelativeURL;
import symantec.itools.awt.ScrollingPanel;
public class Applet1 extends Applet
{
void imageListBox1_ListSelect(java.awt.event.ItemEvent event) {
try {
imageViewer1.setImage(imageListBox1.getImage(imageListBox1.getSelectedIndex()));
imageViewer1.repaint();
} catch(java.beans.PropertyVetoException e) {
}
}
void setListItemImage(int listItem, URL url) {
Image image = getToolkit().getImage(url);
MediaTracker tracker = new MediaTracker(this);
tracker.addImage(image, 0);
try {
tracker.waitForAll();
} catch(InterruptedException e){
}
try {
imageListBox1.setImage(listItem, image);
} catch(java.beans.PropertyVetoException e) {
}
}
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(525,551);
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(5);
}
catch(java.beans.PropertyVetoException e) { }
tabPanel1.setBounds(40,13,476,440);
add(tabPanel1);
panel1 = new java.awt.Panel();
panel1.setLayout(null);
panel1.setVisible(false);
panel1.setBounds(12,33,452,396);
tabPanel1.add(panel1);
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(4);
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");
try {
choice1.select(0);
}
catch (IllegalArgumentException e) { }
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(16756655));
panel1.add(label2);
canvas1 = new java.awt.Canvas();
canvas1.setBounds(49,230,159,139);
canvas1.setBackground(new Color(16756655));
panel1.add(canvas1);
scrollingPanel1 = new symantec.itools.awt.ScrollingPanel();
scrollingPanel1.setBounds(26,56,124,108);
panel1.add(scrollingPanel1);
panel6 = new java.awt.Panel();
panel6.setLayout(null);
panel6.setBounds(0,0,126,123);
scrollingPanel1.add(panel6);
button11 = new java.awt.Button();
button11.setLabel("button");
button11.setBounds(45,63,60,40);
button11.setBackground(new Color(12632256));
panel6.add(button11);
panel2 = new java.awt.Panel();
panel2.setLayout(null);
panel2.setVisible(false);
panel2.setBounds(12,33,452,396);
tabPanel1.add(panel2);
calendar1 = new symantec.itools.awt.util.Calendar();
try {
calendar1.setDate("February 13, 1998");
}
catch(java.beans.PropertyVetoException e) { }
calendar1.setBounds(21,43,285,180);
calendar1.setFont(new Font("Dialog", Font.BOLD, 10));
panel2.add(calendar1);
treeView1 = new symantec.itools.awt.TreeView();
{
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();
try {
progressBar1.setDrawBoxes(true);
}
catch(java.beans.PropertyVetoException e) { }
progressBar1.setBounds(63,315,324,38);
panel2.add(progressBar1);
label3 = new java.awt.Label("Calendar");
label3.setBounds(151,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("Progress Bar");
label5.setBounds(180,266,81,40);
panel2.add(label5);
directionButton2 = new symantec.itools.awt.DirectionButton();
try {
directionButton2.setDirection(symantec.itools.awt.DirectionButton.RIGHT);
}
catch(java.beans.PropertyVetoException e) { }
directionButton2.setBounds(391,315,20,38);
panel2.add(directionButton2);
directionButton3 = new symantec.itools.awt.DirectionButton();
directionButton3.setBounds(39,315,20,38);
panel2.add(directionButton3);
button10 = new java.awt.Button();
button10.setLabel("Delete Node");
button10.setBounds(320,232,126,16);
button10.setBackground(new Color(12632256));
panel2.add(button10);
radioButton4 = new java.awt.Checkbox("Block bar", Group1, true);
radioButton4.setBounds(129,367,74,18);
panel2.add(radioButton4);
radioButton5 = new java.awt.Checkbox("Solid bar", Group1, false);
radioButton5.setBounds(50,365,72,20);
panel2.add(radioButton5);
numericSpinner2 = new symantec.itools.awt.util.spinner.NumericSpinner();
try {
numericSpinner2.setCurrent(8);
}
catch(java.beans.PropertyVetoException e) { }
numericSpinner2.setBounds(205,366,34,19);
panel2.add(numericSpinner2);
label1 = new java.awt.Label("Block Width");
label1.setBounds(244,367,69,18);
panel2.add(label1);
numericSpinner3 = new symantec.itools.awt.util.spinner.NumericSpinner();
try {
numericSpinner3.setCurrent(2);
}
catch(java.beans.PropertyVetoException e) { }
numericSpinner3.setBounds(311,366,34,19);
panel2.add(numericSpinner3);
label13 = new java.awt.Label("Block Space");
label13.setBounds(350,367,69,18);
panel2.add(label13);
textField5 = new java.awt.TextField();
textField5.setBounds(166,232,126,22);
panel2.add(textField5);
button1 = new java.awt.Button();
button1.setLabel("Get Date");
button1.setBounds(38,232,87,22);
button1.setBackground(new Color(12632256));
panel2.add(button1);
panel3 = new java.awt.Panel();
panel3.setLayout(null);
panel3.setVisible(false);
panel3.setBounds(12,33,452,396);
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"), "");
slideShow1.addImageAndDescription(symantec.itools.net.RelativeURL.getURL("images/g1.jpg"), "");
slideShow1.addImageAndDescription(symantec.itools.net.RelativeURL.getURL("images/g2.JPG"), "");
} catch (Exception e) { }
slideShow1.setBounds(1,28,318,251);
panel3.add(slideShow1);
imageViewer1 = new symantec.itools.multimedia.ImageViewer();
try {
imageViewer1.setImageURL(symantec.itools.net.RelativeURL.getURL("images/gear.gif"));
}
catch (java.net.MalformedURLException error) { }
catch(java.beans.PropertyVetoException e) { }
imageViewer1.setBounds(372,316,64,55);
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(346,22,85,40);
scrollingText1.setBackground(new Color(16762880));
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(1,299,358,91);
panel3.add(animator1);
label6 = new java.awt.Label("Slideshow");
label6.setBounds(138,3,64,17);
panel3.add(label6);
button3 = new java.awt.Button();
button3.setActionCommand("button");
button3.setLabel("Next");
button3.setBounds(88,247,60,19);
panel3.add(button3);
button4 = new java.awt.Button();
button4.setActionCommand("button");
button4.setLabel("Previous");
button4.setBounds(174,247,60,19);
panel3.add(button4);
label7 = new java.awt.Label("ImageViewer");
label7.setBounds(368,274,75,26);
panel3.add(label7);
label8 = new java.awt.Label("Animator");
label8.setBounds(150,282,87,15);
panel3.add(label8);
button5 = new java.awt.Button();
button5.setActionCommand("button");
button5.setLabel("Fireworks");
button5.setBounds(347,75,90,24);
panel3.add(button5);
button6 = new java.awt.Button();
button6.setActionCommand("button");
button6.setLabel("Plasma");
button6.setBounds(347,107,90,24);
panel3.add(button6);
button7 = new java.awt.Button();
button7.setActionCommand("button");
button7.setLabel("SoundPlayer");
button7.setBounds(347,139,90,24);
panel3.add(button7);
button8 = new java.awt.Button();
button8.setActionCommand("button");
button8.setLabel("Emblaze");
button8.setBounds(347,171,90,24);
panel3.add(button8);
button9 = new java.awt.Button();
button9.setActionCommand("button");
button9.setLabel("NervousText");
button9.setBounds(347,203,90,24);
panel3.add(button9);
directionButton4 = new symantec.itools.awt.DirectionButton();
directionButton4.setBounds(324,22,20,40);
panel3.add(directionButton4);
directionButton5 = new symantec.itools.awt.DirectionButton();
try {
directionButton5.setDirection(symantec.itools.awt.DirectionButton.RIGHT);
}
catch(java.beans.PropertyVetoException e) { }
directionButton5.setBounds(433,22,20,40);
panel3.add(directionButton5);
panel4 = new java.awt.Panel();
panel4.setLayout(null);
panel4.setVisible(false);
panel4.setBounds(12,33,452,396);
tabPanel1.add(panel4);
line1 = new symantec.itools.awt.shape.Line();
try {
line1.setLineThickness(10);
}
catch(java.beans.PropertyVetoException e) { }
line1.setBounds(43,38,139,133);
line1.setForeground(new Color(16756655));
panel4.add(line1);
horizontalLine1 = new symantec.itools.awt.shape.HorizontalLine();
horizontalLine1.setBounds(20,71,316,2);
horizontalLine1.setForeground(new Color(16776960));
panel4.add(horizontalLine1);
rect1 = new symantec.itools.awt.shape.Rect();
try {
rect1.setFillColor(new java.awt.Color(65535));
}
catch(java.beans.PropertyVetoException e) { }
try {
rect1.setFillMode(true);
}
catch(java.beans.PropertyVetoException e) { }
rect1.setBounds(80,234,239,63);
panel4.add(rect1);
square1 = new symantec.itools.awt.shape.Square();
try {
square1.setFillColor(new java.awt.Color(16711680));
}
catch(java.beans.PropertyVetoException e) { }
try {
square1.setFillMode(true);
}
catch(java.beans.PropertyVetoException e) { }
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();
try {
circle1.setFillColor(new java.awt.Color(16711935));
}
catch(java.beans.PropertyVetoException e) { }
try {
circle1.setFillMode(true);
}
catch(java.beans.PropertyVetoException e) { }
circle1.setBounds(33,119,99,99);
panel4.add(circle1);
ellipse1 = new symantec.itools.awt.shape.Ellipse();
try {
ellipse1.setFillColor(new java.awt.Color(255));
}
catch(java.beans.PropertyVetoException e) { }
try {
ellipse1.setFillMode(true);
}
catch(java.beans.PropertyVetoException e) { }
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,396);
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(28,5,92,23);
radioButton1.setBackground(new Color(16777215));
radioButtonGroupPanel1.add(radioButton1);
radioButton2 = new java.awt.Checkbox("radiobutton");
radioButton2.setBounds(28,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.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.setBounds(12,33,452,396);
tabPanel1.add(panel8);
imageListBox1 = new symantec.itools.awt.ImageListBox();
try {
java.lang.String[] tempString = new java.lang.String[7];
tempString[0] = new java.lang.String("Light Bulb");
tempString[1] = new java.lang.String("Sphere");
tempString[2] = new java.lang.String("Doorbell");
tempString[3] = new java.lang.String("Bullet Hole");
tempString[4] = new java.lang.String("Gear");
tempString[5] = new java.lang.String("Penny");
tempString[6] = new java.lang.String("Smiley");
imageListBox1.setListItems(tempString);
}
catch(java.beans.PropertyVetoException e) { }
imageListBox1.setBounds(12,43,113,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.setBounds(342,43,104,27);
panel8.add(monthSpinner1);
listSpinner1 = new symantec.itools.awt.util.spinner.ListSpinner();
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(342,105,104,27);
panel8.add(listSpinner1);
daySpinner1 = new symantec.itools.awt.util.spinner.DaySpinner();
daySpinner1.setBounds(342,74,104,27);
panel8.add(daySpinner1);
numericSpinner1 = new symantec.itools.awt.util.spinner.NumericSpinner();
numericSpinner1.setBounds(342,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(134,86,94,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(133,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(208,289,60,39);
panel8.add(rollOverButton1);
rollOverButton1.setCursor(new Cursor(Cursor.HAND_CURSOR));
label3D1 = new symantec.itools.awt.Label3D();
try {
label3D1.setBorderedColor(new java.awt.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 java.awt.Color(16711680));
}
catch(java.beans.PropertyVetoException e) { }
label3D1.setBounds(132,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();
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,213,81);
multiList1.setBackground(new Color(16777215));
panel8.add(multiList1);
wrappingLabel1 = new symantec.itools.awt.WrappingLabel();
try {
wrappingLabel1.setText("Symantec Wrapping Label");
}
catch(java.beans.PropertyVetoException e) { }
wrappingLabel1.setBounds(240,43,91,111);
wrappingLabel1.setBackground(new Color(16777215));
panel8.add(wrappingLabel1);
comboBox1 = new symantec.itools.awt.ComboBox();
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(342,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(342,5,106,35);
panel8.add(label11);
label12 = new java.awt.Label("Sliders");
label12.setBounds(331,230,106,35);
panel8.add(label12);
label14 = new java.awt.Label("Image List Box");
label14.setBounds(15,4,88,35);
panel8.add(label14);
statusBar1 = new symantec.itools.awt.StatusBar();
try {
statusBar1.setBevelStyle(symantec.itools.awt.StatusBar.BEVEL_RAISED);
}
catch(java.beans.PropertyVetoException e) { }
try {
statusBar1.setLabel("Info Center");
}
catch(java.beans.PropertyVetoException e) { }
try {
statusBar1.setAlignStyle(symantec.itools.awt.StatusBar.ALIGN_LEFT);
}
catch(java.beans.PropertyVetoException e) { }
statusBar1.setBounds(47,471,465,61);
add(statusBar1);
//}}
try {
setListItemImage(0, RelativeURL.getURL("images/lightbulb.gif"));
setListItemImage(1, RelativeURL.getURL("images/sphere.gif"));
setListItemImage(2, RelativeURL.getURL("images/doorbell.gif"));
setListItemImage(3, RelativeURL.getURL("images/bullethole.gif"));
setListItemImage(4, RelativeURL.getURL("images/gear.gif"));
setListItemImage(5, RelativeURL.getURL("images/penny.gif"));
setListItemImage(6, RelativeURL.getURL("images/smiley.gif"));
} catch (java.net.MalformedURLException e) {
}
//{{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);
button10.addActionListener(lSymAction);
directionButton3.addActionListener(lSymAction);
directionButton2.addActionListener(lSymAction);
directionButton3.addMouseListener(aSymMouse);
directionButton2.addMouseListener(aSymMouse);
SymItem lSymItem = new SymItem();
radioButton5.addItemListener(lSymItem);
radioButton4.addMouseListener(aSymMouse);
numericSpinner2.addActionListener(lSymAction);
numericSpinner3.addActionListener(lSymAction);
directionButton4.addActionListener(lSymAction);
directionButton5.addActionListener(lSymAction);
button1.addActionListener(lSymAction);
//}}
}
//{{DECLARE_CONTROLS
symantec.itools.util.Timer timer1;
symantec.itools.awt.util.StatusScroller statusScroller1;
symantec.itools.awt.TabPanel tabPanel1;
java.awt.Panel panel1;
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;
symantec.itools.awt.ScrollingPanel scrollingPanel1;
java.awt.Panel panel6;
java.awt.Button button11;
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;
symantec.itools.awt.DirectionButton directionButton2;
symantec.itools.awt.DirectionButton directionButton3;
java.awt.Button button10;
java.awt.Checkbox radioButton4;
java.awt.Checkbox radioButton5;
symantec.itools.awt.util.spinner.NumericSpinner numericSpinner2;
java.awt.Label label1;
symantec.itools.awt.util.spinner.NumericSpinner numericSpinner3;
java.awt.Label label13;
java.awt.TextField textField5;
java.awt.Button button1;
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;
symantec.itools.awt.DirectionButton directionButton4;
symantec.itools.awt.DirectionButton directionButton5;
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;
java.awt.Label label14;
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);
else if (object == button10)
button10_ActionPerformed(event);
else if (object == directionButton3)
directionButton3_actionPerformed(event);
else if (object == directionButton2)
directionButton2_actionPerformed(event);
else if (object == numericSpinner2)
numericSpinner2_actionPerformed(event);
else if (object == numericSpinner3)
numericSpinner3_actionPerformed(event);
else if (object == directionButton4)
directionButton4_actionPerformed(event);
else if (object == directionButton5)
directionButton5_actionPerformed(event);
else if (object == button1)
button1_ActionPerformed(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 mouseClicked(java.awt.event.MouseEvent event)
{
Object object = event.getSource();
if (object == radioButton4)
radioButton4_MouseClicked(event);
}
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);
else if (object == directionButton3)
directionButton3_mouseExited(event);
else if (object == directionButton2)
directionButton2_mouseExited(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);
else if (object == directionButton3)
directionButton3_mouseEntered(event);
else if (object == directionButton2)
directionButton2_mouseEntered(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) { }
}
//}}
}
void button10_ActionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Remove the specified node from the tree... Get the string for the selected node
{
treeView1.remove(treeView1.getSelectedText());
}
//}}
}
void directionButton3_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the progress bar value...
{
int x =progressBar1.getValue();
try {
progressBar1.setValue(x-1);
}
catch(Exception e) { }
}
//}}
}
void directionButton2_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the progress bar value...
{
int y = progressBar1.getValue();
try {
progressBar1.setValue(y+1);
}
catch(Exception e) { }
}
//}}
}
void directionButton3_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Decrease the progressBar value by 1%");
}
catch(Exception e) { }
}
//}}
}
void directionButton3_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(Exception e) { }
}
//}}
}
void directionButton2_mouseEntered(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText("Increase the progressBar value by 1%");
}
catch(Exception e) { }
}
//}}
}
void directionButton2_mouseExited(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the status text...
{
try {
statusBar1.setStatusText(" ");
}
catch(Exception e) { }
}
//}}
}
class SymItem implements java.awt.event.ItemListener
{
public void itemStateChanged(java.awt.event.ItemEvent event)
{
Object object = event.getSource();
if (object == radioButton5)
radioButton5_ItemStateChanged(event);
}
}
void radioButton5_ItemStateChanged(java.awt.event.ItemEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set draw progress bar as boxes... Draw progress bar as boxes?
{
try {
progressBar1.setDrawBoxes(!progressBar1.isEnabled()); }
catch(Exception e) { }
}
//}}
}
void radioButton4_MouseClicked(java.awt.event.MouseEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set draw progress bar as boxes... Is not enabled
{
try {
progressBar1.setDrawBoxes(true);
}
catch(Exception e) { }
}
//}}
}
void numericSpinner2_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the bar box width... Get the current index
{
try {
progressBar1.setBoxWidth(numericSpinner2.getCurrent());
}
catch(Exception e) { }
}
//}}
}
void numericSpinner3_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the bar gap width... Get the current index
{
try {
progressBar1.setGapWidth(numericSpinner3.getCurrent());
}
catch(Exception e) { }
}
//}}
}
void directionButton4_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Specify the scrolling direction... SCROLL_LEFT
{
try {
scrollingText1.setScrollDirection(scrollingText1.SCROLL_LEFT);
}
catch(Exception e) { }
}
//}}
}
void directionButton5_actionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Specify the scrolling direction... SCROLL_RIGHT
{
try {
scrollingText1.setScrollDirection(scrollingText1.SCROLL_RIGHT);
}
catch(Exception e) { }
}
//}}
}
void button1_ActionPerformed(java.awt.event.ActionEvent event)
{
// to do: code goes here.
//{{CONNECTION
// Set the text for TextField... Get the date displayed on calendar
{
textField5.setText(calendar1.getDate());
}
//}}
}
}