1 package org.netbeans.test.java.testsources; 2 3 8 9 13 public class WalkThrough extends JFrame implements java.io.Serializable , Runnable { 14 15 16 public WalkThrough() { 17 initComponents(); 18 Vector v; 19 20 } 21 22 27 private void initComponents() { 28 buttonGroup1 = new javax.swing.ButtonGroup (); 29 jPanel1 = new javax.swing.JPanel (); 30 jPanel2 = new javax.swing.JPanel (); 31 jTabbedPane1 = new javax.swing.JTabbedPane (); 32 jComboBox2 = new javax.swing.JComboBox (); 33 jComboBox3 = new javax.swing.JComboBox (); 34 jScrollPane1 = new javax.swing.JScrollPane (); 35 jPanel3 = new javax.swing.JPanel (); 36 jButton1 = new javax.swing.JButton (); 37 choice1 = new Choice(); 38 scrollbar1 = new java.awt.Scrollbar (); 39 panel1 = new java.awt.Panel (); 40 41 42 addWindowListener(new java.awt.event.WindowAdapter () { 43 public void windowClosing(java.awt.event.WindowEvent 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 () { 62 public void actionPerformed(java.awt.event.ActionEvent 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 evt) { 81 } 83 84 85 private void exitForm(java.awt.event.WindowEvent evt) { 86 System.exit(0); 87 } 88 89 92 public static void main(String args[]) { 93 } 95 96 public void run() { 97 Method m; 98 } 99 100 private ButtonGroup buttonGroup1; 102 private JPanel jPanel1; 103 private JPanel jPanel2; 104 private javax.swing.JTabbedPane jTabbedPane1; 105 private javax.swing.JComboBox jComboBox2; 106 private javax.swing.JComboBox jComboBox3; 107 private javax.swing.JScrollPane jScrollPane1; 108 private javax.swing.JPanel jPanel3; 109 private javax.swing.JButton jButton1; 110 private Choice choice1; 111 private java.awt.Scrollbar scrollbar1; 112 private java.awt.Panel panel1; 113 115 } 116 | Popular Tags |