KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > form > layoutdesign > ALT_Indent02


1
2 package org.netbeans.modules.form.layoutdesign;
3
4 public class ALT_Indent02 extends javax.swing.JFrame JavaDoc {
5     
6     /** Creates new form Issue68280_ */
7     public ALT_Indent02() {
8         initComponents();
9     }
10     
11     /** This method is called from within the constructor to
12      * initialize the form.
13      * WARNING: Do NOT modify this code. The content of this method is
14      * always regenerated by the Form Editor.
15      */

16     // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
17
private void initComponents() {
18         jPanel5 = new javax.swing.JPanel JavaDoc();
19         jLabel19 = new javax.swing.JLabel JavaDoc();
20         jLabel20 = new javax.swing.JLabel JavaDoc();
21         jComboBox9 = new javax.swing.JComboBox JavaDoc();
22         jLabel22 = new javax.swing.JLabel JavaDoc();
23         jLabel23 = new javax.swing.JLabel JavaDoc();
24         jComboBox11 = new javax.swing.JComboBox JavaDoc();
25         jLabel27 = new javax.swing.JLabel JavaDoc();
26         jComboBox13 = new javax.swing.JComboBox JavaDoc();
27
28         setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
29         jLabel19.setText("Text Files");
30
31         jLabel20.setText("Show text in icons:");
32
33         jComboBox9.setModel(new javax.swing.DefaultComboBoxModel JavaDoc(new String JavaDoc[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
34
35         jLabel22.setText("Other Previewable Files");
36
37         jLabel23.setText("Show thumbnails:");
38
39         jComboBox11.setModel(new javax.swing.DefaultComboBoxModel JavaDoc(new String JavaDoc[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
40
41         jLabel27.setText("Only for files smaller then:");
42
43         jComboBox13.setModel(new javax.swing.DefaultComboBoxModel JavaDoc(new String JavaDoc[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
44
45         org.jdesktop.layout.GroupLayout jPanel5Layout = new org.jdesktop.layout.GroupLayout(jPanel5);
46         jPanel5.setLayout(jPanel5Layout);
47         jPanel5Layout.setHorizontalGroup(
48             jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
49             .add(jPanel5Layout.createSequentialGroup()
50                 .add(20, 20, 20)
51                 .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
52                     .add(jLabel22)
53                     .add(jPanel5Layout.createSequentialGroup()
54                         .add(10, 10, 10)
55                         .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
56                             .add(jLabel23)
57                             .add(jLabel27)
58                             .add(jLabel20))
59                         .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
60                         .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
61                             .add(jComboBox9, 0, 230, Short.MAX_VALUE)
62                             .add(jComboBox11, 0, 230, Short.MAX_VALUE)
63                             .add(jComboBox13, 0, 230, Short.MAX_VALUE)))
64                     .add(jLabel19))
65                 .addContainerGap())
66         );
67         jPanel5Layout.setVerticalGroup(
68             jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
69             .add(jPanel5Layout.createSequentialGroup()
70                 .addContainerGap()
71                 .add(jLabel19)
72                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
73                 .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
74                     .add(jComboBox9, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
75                     .add(jLabel20))
76                 .add(30, 30, 30)
77                 .add(jLabel22)
78                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
79                 .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
80                     .add(jLabel23)
81                     .add(jComboBox11, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
82                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
83                 .add(jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
84                     .add(jLabel27)
85                     .add(jComboBox13, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
86                 .addContainerGap(155, Short.MAX_VALUE))
87         );
88         getContentPane().add(jPanel5, java.awt.BorderLayout.CENTER);
89
90         pack();
91     }// </editor-fold>//GEN-END:initComponents
92

93     /**
94      * @param args the command line arguments
95      */

96     public static void main(String JavaDoc args[]) {
97         java.awt.EventQueue.invokeLater(new Runnable JavaDoc() {
98             public void run() {
99                 new ALT_Indent02().setVisible(true);
100             }
101         });
102     }
103     
104     // Variables declaration - do not modify//GEN-BEGIN:variables
105
private javax.swing.JComboBox JavaDoc jComboBox11;
106     private javax.swing.JComboBox JavaDoc jComboBox13;
107     private javax.swing.JComboBox JavaDoc jComboBox9;
108     private javax.swing.JLabel JavaDoc jLabel19;
109     private javax.swing.JLabel JavaDoc jLabel20;
110     private javax.swing.JLabel JavaDoc jLabel22;
111     private javax.swing.JLabel JavaDoc jLabel23;
112     private javax.swing.JLabel JavaDoc jLabel27;
113     private javax.swing.JPanel JavaDoc jPanel5;
114     // End of variables declaration//GEN-END:variables
115

116 }
117
Popular Tags