📄 tabsplitterdemo.java
字号:
package com.magelang.test;
import java.applet.*;
import java.awt.*;
/**
* This applet was generated by a SmartGuide.
*
*/
public class TabSplitterDemo extends Applet {
private com.magelang.tabsplitter.TabNamePanel ivja = null;
private com.magelang.tabsplitter.TabNamePanel ivjb = null;
private Button ivjButton10 = null;
private Button ivjButton11 = null;
private Button ivjButton12 = null;
private Button ivjButton13 = null;
private Button ivjButton14 = null;
private Button ivjButton15 = null;
private Button ivjButton16 = null;
private Button ivjButton17 = null;
private Button ivjButton18 = null;
private Button ivjButton19 = null;
private Button ivjButton2 = null;
private Button ivjButton20 = null;
private Button ivjButton21 = null;
private Button ivjButton22 = null;
private Button ivjButton23 = null;
private Button ivjButton24 = null;
private Button ivjButton25 = null;
private Button ivjButton26 = null;
private Button ivjButton27 = null;
private Button ivjButton28 = null;
private Button ivjButton29 = null;
private Button ivjButton3 = null;
private Button ivjButton30 = null;
private Button ivjButton31 = null;
private Button ivjButton32 = null;
private Button ivjButton33 = null;
private Button ivjButton34 = null;
private Button ivjButton35 = null;
private Button ivjButton36 = null;
private Button ivjButton37 = null;
private Button ivjButton38 = null;
private Button ivjButton39 = null;
private Button ivjButton4 = null;
private Button ivjButton5 = null;
private Button ivjButton51 = null;
private Button ivjButton58 = null;
private Button ivjButton59 = null;
private Button ivjButton6 = null;
private Button ivjButton60 = null;
private Button ivjButton63 = null;
private Button ivjButton64 = null;
private Button ivjButton66 = null;
private Button ivjButton67 = null;
private Button ivjButton69 = null;
private Button ivjButton7 = null;
private Button ivjButton70 = null;
private Button ivjButton8 = null;
private Button ivjButton9 = null;
private com.magelang.tabsplitter.TabNamePanel ivjc = null;
private Checkbox ivjCheckbox1 = null;
private Checkbox ivjCheckbox2 = null;
private Checkbox ivjCheckbox3 = null;
private CheckboxGroup ivjCheckboxGroup1 = null;
private Choice ivjChoice1 = null;
private com.magelang.tabsplitter.TabNamePanel ivjd = null;
private com.magelang.tabsplitter.TabNamePanel ivje = null;
private com.magelang.tabsplitter.TabNamePanel ivjf = null;
private com.magelang.tabsplitter.TabNamePanel ivjg = null;
private com.magelang.tabsplitter.TabNamePanel ivjh = null;
private com.magelang.tabsplitter.TabNamePanel ivji = null;
private com.magelang.tabsplitter.TabNamePanel ivjj = null;
private Label ivjLabel1 = null;
private List ivjList1 = null;
private Scrollbar ivjScrollbar1 = null;
private ScrollPane ivjScrollPane1 = null;
private com.magelang.tabsplitter.TabNamePanel ivjTabNamePanel1 = null;
private com.magelang.tabsplitter.TabNamePanel ivjTabNamePanel2 = null;
private GridLayout ivjTabNamePanel2GridLayout = null;
private com.magelang.tabsplitter.TabNamePanel ivjTabNamePanel3 = null;
private BorderLayout ivjTabNamePanel3BorderLayout = null;
private com.magelang.tabsplitter.TabNamePanel ivjTabNamePanel4 = null;
private com.magelang.tabsplitter.TabNamePanel ivjTabNamePanel5 = null;
private com.magelang.tabsplitter.TabNamePanel ivjTabNamePanel6 = null;
private com.magelang.tabsplitter.TabPanel ivjTabPanel1 = null;
private com.magelang.tabsplitter.TabSplitter ivjTabSplitter1 = null;
private TextArea ivjTextArea1 = null;
private TextField ivjTextField1 = null;
/**
* conn0SetTarget: (CheckboxGroup1.this <--> Checkbox2.checkboxGroup)
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private void conn0SetTarget() {
/* Set the target from the source */
try {
getCheckbox2().setCheckboxGroup(getCheckboxGroup1());
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {3}
// user code end
handleException(ivjExc);
}
}
/**
* conn1SetTarget: (CheckboxGroup1.this <--> Checkbox3.checkboxGroup)
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private void conn1SetTarget() {
/* Set the target from the source */
try {
getCheckbox3().setCheckboxGroup(getCheckboxGroup1());
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {3}
// user code end
handleException(ivjExc);
}
}
/**
* Return the a property value.
* @return com.magelang.tabsplitter.TabNamePanel
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private com.magelang.tabsplitter.TabNamePanel geta() {
if (ivja == null) {
try {
ivja = new com.magelang.tabsplitter.TabNamePanel();
ivja.setName("a");
ivja.setLayout(new java.awt.GridLayout());
ivja.setTabName("a");
ivja.add(getCheckbox1(), getCheckbox1().getName());
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivja;
}
/**
* Gets the applet information.
* @return java.lang.String
*/
public String getAppletInfo() {
return "com.magelang.test.TabSplitterDemo created using VisualAge for Java.";
}
/**
* Return the b property value.
* @return com.magelang.tabsplitter.TabNamePanel
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private com.magelang.tabsplitter.TabNamePanel getb() {
if (ivjb == null) {
try {
ivjb = new com.magelang.tabsplitter.TabNamePanel();
ivjb.setName("b");
ivjb.setLayout(new java.awt.GridLayout());
ivjb.setTabName("b");
ivjb.add(getScrollbar1(), getScrollbar1().getName());
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjb;
}
/**
* Return the Button10 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton10() {
if (ivjButton10 == null) {
try {
ivjButton10 = new java.awt.Button();
ivjButton10.setName("Button10");
ivjButton10.setLabel("h");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton10;
}
/**
* Return the Button11 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton11() {
if (ivjButton11 == null) {
try {
ivjButton11 = new java.awt.Button();
ivjButton11.setName("Button11");
ivjButton11.setLabel("i");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton11;
}
/**
* Return the Button12 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton12() {
if (ivjButton12 == null) {
try {
ivjButton12 = new java.awt.Button();
ivjButton12.setName("Button12");
ivjButton12.setLabel("j");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton12;
}
/**
* Return the Button13 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton13() {
if (ivjButton13 == null) {
try {
ivjButton13 = new java.awt.Button();
ivjButton13.setName("Button13");
ivjButton13.setLabel("k");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton13;
}
/**
* Return the Button14 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton14() {
if (ivjButton14 == null) {
try {
ivjButton14 = new java.awt.Button();
ivjButton14.setName("Button14");
ivjButton14.setLabel("l");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton14;
}
/**
* Return the Button15 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton15() {
if (ivjButton15 == null) {
try {
ivjButton15 = new java.awt.Button();
ivjButton15.setName("Button15");
ivjButton15.setLabel("k");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton15;
}
/**
* Return the Button16 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton16() {
if (ivjButton16 == null) {
try {
ivjButton16 = new java.awt.Button();
ivjButton16.setName("Button16");
ivjButton16.setLabel("j");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton16;
}
/**
* Return the Button17 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton17() {
if (ivjButton17 == null) {
try {
ivjButton17 = new java.awt.Button();
ivjButton17.setName("Button17");
ivjButton17.setLabel("i");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton17;
}
/**
* Return the Button18 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton18() {
if (ivjButton18 == null) {
try {
ivjButton18 = new java.awt.Button();
ivjButton18.setName("Button18");
ivjButton18.setLabel("h");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton18;
}
/**
* Return the Button19 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton19() {
if (ivjButton19 == null) {
try {
ivjButton19 = new java.awt.Button();
ivjButton19.setName("Button19");
ivjButton19.setLabel("g");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton19;
}
/**
* Return the Button2 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton2() {
if (ivjButton2 == null) {
try {
ivjButton2 = new java.awt.Button();
ivjButton2.setName("Button2");
ivjButton2.setLabel("m");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton2;
}
/**
* Return the Button20 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton20() {
if (ivjButton20 == null) {
try {
ivjButton20 = new java.awt.Button();
ivjButton20.setName("Button20");
ivjButton20.setLabel("f");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton20;
}
/**
* Return the Button21 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton21() {
if (ivjButton21 == null) {
try {
ivjButton21 = new java.awt.Button();
ivjButton21.setName("Button21");
ivjButton21.setLabel("e");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton21;
}
/**
* Return the Button22 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton22() {
if (ivjButton22 == null) {
try {
ivjButton22 = new java.awt.Button();
ivjButton22.setName("Button22");
ivjButton22.setLabel("d");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton22;
}
/**
* Return the Button23 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton23() {
if (ivjButton23 == null) {
try {
ivjButton23 = new java.awt.Button();
ivjButton23.setName("Button23");
ivjButton23.setLabel("c");
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
// user code begin {2}
// user code end
handleException(ivjExc);
}
};
return ivjButton23;
}
/**
* Return the Button24 property value.
* @return java.awt.Button
*/
/* WARNING: THIS METHOD WILL BE REGENERATED. */
private Button getButton24() {
if (ivjButton24 == null) {
try {
ivjButton24 = new java.awt.Button();
ivjButton24.setName("Button24");
ivjButton24.setLabel("b");
// user code begin {1}
// user code end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -