KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > test > java > testsources > WalkThrough


1 package org.netbeans.test.java.testsources;
2
3 /*
4  * Test.java
5  *
6  * Created on March 30, 2001, 10:18 AM
7  */

8
9 /**
10  *
11  * @author jb105785
12  */

13 public class WalkThrough extends JFrame implements java.io.Serializable JavaDoc, Runnable JavaDoc {
14     
15     /** Creates new form Test */
16     public WalkThrough() {
17         initComponents();
18         Vector v;
19         
20     }
21     
22     /** This method is called from within the constructor to
23      * initialize the form.
24      * WARNING: Do NOT modify this code. The content of this method is
25      * always regenerated by the Form Editor.
26      */

27     private void initComponents() {
28         buttonGroup1 = new javax.swing.ButtonGroup JavaDoc();
29         jPanel1 = new javax.swing.JPanel JavaDoc();
30         jPanel2 = new javax.swing.JPanel JavaDoc();
31         jTabbedPane1 = new javax.swing.JTabbedPane JavaDoc();
32         jComboBox2 = new javax.swing.JComboBox JavaDoc();
33         jComboBox3 = new javax.swing.JComboBox JavaDoc();
34         jScrollPane1 = new javax.swing.JScrollPane JavaDoc();
35         jPanel3 = new javax.swing.JPanel JavaDoc();
36         jButton1 = new javax.swing.JButton JavaDoc();
37         choice1 = new Choice();
38         scrollbar1 = new java.awt.Scrollbar JavaDoc();
39         panel1 = new java.awt.Panel JavaDoc();
40         
41         
42         addWindowListener(new java.awt.event.WindowAdapter JavaDoc() {
43             public void windowClosing(java.awt.event.WindowEvent JavaDoc evt) {
44                 exitForm(evt);
45             }
46         });
47         
48         jPanel1.add(jPanel2);
49         
50         jTabbedPane1.addTab("jComboBox2", jComboBox2);
51         
52         jPanel1.add(jTabbedPane1);
53         
54         jPanel1.add(jComboBox3);
55         
56         jPanel1.add(jScrollPane1);
57         
58         getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
59         
60         jButton1.setText("jButton1");
61         jButton1.addActionListener(new java.awt.event.ActionListener JavaDoc() {
62             public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt) {
63                 jButton1ActionPerformed(evt);
64             }
65         });
66         
67         jPanel3.add(jButton1);
68         
69         jPanel3.add(choice1);
70         
71         jPanel3.add(scrollbar1);
72         
73         jPanel3.add(panel1);
74         
75         getContentPane().add(jPanel3, java.awt.BorderLayout.NORTH);
76         
77         pack();
78     }
79     
80     private void jButton1ActionPerformed(java.awt.event.ActionEvent JavaDoc evt) {
81         // Add your handling code here:
82
}
83     
84     /** Exit the Application */
85     private void exitForm(java.awt.event.WindowEvent JavaDoc evt) {
86         System.exit(0);
87     }
88     
89     /**
90      * @param args the command line arguments
91      */

92     public static void main(String JavaDoc args[]) {
93         //new Test().show();
94
}
95     
96     public void run() {
97         Method m;
98     }
99     
100     // Variables declaration - do not modify
101
private ButtonGroup buttonGroup1;
102     private JPanel jPanel1;
103     private JPanel jPanel2;
104     private javax.swing.JTabbedPane JavaDoc jTabbedPane1;
105     private javax.swing.JComboBox JavaDoc jComboBox2;
106     private javax.swing.JComboBox JavaDoc jComboBox3;
107     private javax.swing.JScrollPane JavaDoc jScrollPane1;
108     private javax.swing.JPanel JavaDoc jPanel3;
109     private javax.swing.JButton JavaDoc jButton1;
110     private Choice choice1;
111     private java.awt.Scrollbar JavaDoc scrollbar1;
112     private java.awt.Panel JavaDoc panel1;
113     // End of variables declaration
114

115 }
116
Popular Tags