KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > java > j2seproject > ui > customizer > CustomizerJavadoc


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.modules.java.j2seproject.ui.customizer;
21
22 import javax.swing.JComponent JavaDoc;
23 import javax.swing.JPanel JavaDoc;
24 import org.openide.util.HelpCtx;
25
26 /** Customizer for general project attributes.
27  *
28  * @author phrebejk
29  */

30 public class CustomizerJavadoc extends JPanel JavaDoc implements HelpCtx.Provider {
31
32     private J2SEProjectProperties j2seProperties = null;
33
34     public CustomizerJavadoc( J2SEProjectProperties uiProperties ) {
35
36         initComponents();
37
38         uiProperties.JAVADOC_PRIVATE_MODEL.setMnemonic( jCheckBoxPrivate.getMnemonic() );
39         jCheckBoxPrivate.setModel( uiProperties.JAVADOC_PRIVATE_MODEL );
40         
41         uiProperties.JAVADOC_NO_TREE_MODEL.setMnemonic( jCheckBoxTree.getMnemonic() );
42         jCheckBoxTree.setModel( uiProperties.JAVADOC_NO_TREE_MODEL );
43         
44         uiProperties.JAVADOC_USE_MODEL.setMnemonic( jCheckBoxUsages.getMnemonic() );
45         jCheckBoxUsages.setModel( uiProperties.JAVADOC_USE_MODEL );
46         
47         uiProperties.JAVADOC_NO_NAVBAR_MODEL.setMnemonic( jCheckBoxNavigation.getMnemonic() );
48         jCheckBoxNavigation.setModel( uiProperties.JAVADOC_NO_NAVBAR_MODEL );
49         
50         uiProperties.JAVADOC_NO_INDEX_MODEL.setMnemonic( jCheckBoxIndex.getMnemonic() );
51         jCheckBoxIndex.setModel( uiProperties.JAVADOC_NO_INDEX_MODEL );
52         
53         uiProperties.JAVADOC_SPLIT_INDEX_MODEL.setMnemonic( jCheckBoxSplitIndex.getMnemonic() );
54         jCheckBoxSplitIndex.setModel( uiProperties.JAVADOC_SPLIT_INDEX_MODEL );
55         
56         uiProperties.JAVADOC_AUTHOR_MODEL.setMnemonic( jCheckBoxAuthor.getMnemonic() );
57         jCheckBoxAuthor.setModel( uiProperties.JAVADOC_AUTHOR_MODEL );
58         
59         uiProperties.JAVADOC_VERSION_MODEL.setMnemonic( jCheckBoxVersion.getMnemonic() );
60         jCheckBoxVersion.setModel( uiProperties.JAVADOC_VERSION_MODEL );
61         
62         jTextFieldWinTitle.setDocument( uiProperties.JAVADOC_WINDOW_TITLE_MODEL );
63         
64         uiProperties.JAVADOC_PREVIEW_MODEL.setMnemonic( jCheckBoxPreview.getMnemonic() );
65         jCheckBoxPreview.setModel( uiProperties.JAVADOC_PREVIEW_MODEL );
66         
67         jTextFieldAddOptions.setDocument( uiProperties.JAVADOC_ADDITIONALPARAM_MODEL );
68         
69         reenableSplitIndex( null );
70         
71         // XXX Temporarily removing some controls
72
remove( jLabelPackage );
73         remove( jTextFieldPackage );
74         remove( jButtonPackage );
75         remove( jCheckBoxSubpackages );
76         jPanel1.remove( jLabelEncoding );
77         jPanel1.remove( jTextFieldEncoding );
78         
79     }
80     
81     public HelpCtx getHelpCtx() {
82         return new HelpCtx( CustomizerJavadoc.class );
83     }
84     
85     /** This method is called from within the constructor to
86      * initialize the form.
87      * WARNING: Do NOT modify this code. The content of this method is
88      * always regenerated by the Form Editor.
89      */

90     // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
91
private void initComponents() {
92         java.awt.GridBagConstraints JavaDoc gridBagConstraints;
93
94         jLabelPackage = new javax.swing.JLabel JavaDoc();
95         jTextFieldPackage = new javax.swing.JTextField JavaDoc();
96         jButtonPackage = new javax.swing.JButton JavaDoc();
97         jCheckBoxSubpackages = new javax.swing.JCheckBox JavaDoc();
98         jCheckBoxPrivate = new javax.swing.JCheckBox JavaDoc();
99         jLabelGenerate = new javax.swing.JLabel JavaDoc();
100         jCheckBoxTree = new javax.swing.JCheckBox JavaDoc();
101         jCheckBoxUsages = new javax.swing.JCheckBox JavaDoc();
102         jCheckBoxNavigation = new javax.swing.JCheckBox JavaDoc();
103         jCheckBoxIndex = new javax.swing.JCheckBox JavaDoc();
104         jCheckBoxSplitIndex = new javax.swing.JCheckBox JavaDoc();
105         jLabelTags = new javax.swing.JLabel JavaDoc();
106         jCheckBoxAuthor = new javax.swing.JCheckBox JavaDoc();
107         jCheckBoxVersion = new javax.swing.JCheckBox JavaDoc();
108         jPanel1 = new javax.swing.JPanel JavaDoc();
109         jLabelWinTitle = new javax.swing.JLabel JavaDoc();
110         jTextFieldWinTitle = new javax.swing.JTextField JavaDoc();
111         jLabelEncoding = new javax.swing.JLabel JavaDoc();
112         jTextFieldEncoding = new javax.swing.JTextField JavaDoc();
113         jPanel2 = new javax.swing.JPanel JavaDoc();
114         jLabelAddOptions = new javax.swing.JLabel JavaDoc();
115         jTextFieldAddOptions = new javax.swing.JTextField JavaDoc();
116         jLabelAddOptionsInfo = new javax.swing.JLabel JavaDoc();
117         jCheckBoxPreview = new javax.swing.JCheckBox JavaDoc();
118
119         setLayout(new java.awt.GridBagLayout JavaDoc());
120
121         jLabelPackage.setLabelFor(jTextFieldPackage);
122         org.openide.awt.Mnemonics.setLocalizedText(jLabelPackage, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Package_JLabel"));
123         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
124         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
125         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 12, 12);
126         add(jLabelPackage, gridBagConstraints);
127
128         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
129         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
130         gridBagConstraints.weightx = 1.0;
131         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 12, 6);
132         add(jTextFieldPackage, gridBagConstraints);
133         jTextFieldPackage.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jTextFieldPackage"));
134
135         org.openide.awt.Mnemonics.setLocalizedText(jButtonPackage, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Package_JButton"));
136         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
137         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
138         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 12, 0);
139         add(jButtonPackage, gridBagConstraints);
140         jButtonPackage.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jButtonPackage"));
141
142         org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxSubpackages, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Subpackages_JCheckBox"));
143         jCheckBoxSubpackages.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 2));
144         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
145         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
146         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
147         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 5, 0);
148         add(jCheckBoxSubpackages, gridBagConstraints);
149         jCheckBoxSubpackages.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jCheckBoxSubpackages"));
150
151         org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxPrivate, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Private_JCheckBox"));
152         jCheckBoxPrivate.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 2));
153         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
154         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
155         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
156         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 12, 0);
157         add(jCheckBoxPrivate, gridBagConstraints);
158         jCheckBoxPrivate.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jCheckBoxPrivate"));
159
160         org.openide.awt.Mnemonics.setLocalizedText(jLabelGenerate, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Generate_JLabel"));
161         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
162         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
163         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
164         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 2, 0);
165         add(jLabelGenerate, gridBagConstraints);
166         jLabelGenerate.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jLabelGenerate"));
167
168         org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxTree, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Tree_JCheckBox"));
169         jCheckBoxTree.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 2));
170         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
171         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
172         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
173         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 20, 5, 0);
174         add(jCheckBoxTree, gridBagConstraints);
175         jCheckBoxTree.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jCheckBoxTree"));
176
177         org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxUsages, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Usages_JCheckBox"));
178         jCheckBoxUsages.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 2));
179         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
180         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
181         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
182         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 20, 5, 0);
183         add(jCheckBoxUsages, gridBagConstraints);
184         jCheckBoxUsages.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jCheckBoxUsages"));
185
186         org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxNavigation, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Navigation_JCheckBox"));
187         jCheckBoxNavigation.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 2));
188         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
189         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
190         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
191         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 20, 5, 0);
192         add(jCheckBoxNavigation, gridBagConstraints);
193         jCheckBoxNavigation.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jCheckBoxNavigation"));
194
195         org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxIndex, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Index_JCheckBox"));
196         jCheckBoxIndex.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 2));
197         jCheckBoxIndex.addActionListener(new java.awt.event.ActionListener JavaDoc() {
198             public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt) {
199                 reenableSplitIndex(evt);
200             }
201         });
202
203         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
204         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
205         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
206         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 20, 5, 0);
207         add(jCheckBoxIndex, gridBagConstraints);
208         jCheckBoxIndex.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jCheckBoxIndex"));
209
210         org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxSplitIndex, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_SplitIndex_JCheckBox"));
211         jCheckBoxSplitIndex.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 2));
212         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
213         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
214         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
215         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 40, 12, 0);
216         add(jCheckBoxSplitIndex, gridBagConstraints);
217         jCheckBoxSplitIndex.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jCheckBoxSplitIndex"));
218
219         org.openide.awt.Mnemonics.setLocalizedText(jLabelTags, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Tags_JLabel"));
220         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
221         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
222         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
223         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 2, 0);
224         add(jLabelTags, gridBagConstraints);
225         jLabelTags.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jLabelTags"));
226
227         org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxAuthor, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Author_JCheckBox"));
228         jCheckBoxAuthor.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 2));
229         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
230         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
231         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
232         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 20, 5, 0);
233         add(jCheckBoxAuthor, gridBagConstraints);
234         jCheckBoxAuthor.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jCheckBoxAuthor"));
235
236         org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxVersion, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Version_JCheckBox"));
237         jCheckBoxVersion.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 2));
238         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
239         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
240         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
241         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 20, 12, 0);
242         add(jCheckBoxVersion, gridBagConstraints);
243         jCheckBoxVersion.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jCheckBoxVersion"));
244
245         jPanel1.setLayout(new java.awt.GridBagLayout JavaDoc());
246
247         jLabelWinTitle.setLabelFor(jTextFieldWinTitle);
248         org.openide.awt.Mnemonics.setLocalizedText(jLabelWinTitle, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_WinTitle_JLabel"));
249         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
250         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
251         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 12, 6);
252         jPanel1.add(jLabelWinTitle, gridBagConstraints);
253
254         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
255         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
256         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
257         gridBagConstraints.weightx = 1.0;
258         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 12, 0);
259         jPanel1.add(jTextFieldWinTitle, gridBagConstraints);
260         jTextFieldWinTitle.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jTextFieldWinTitle"));
261
262         jLabelEncoding.setLabelFor(jTextFieldEncoding);
263         org.openide.awt.Mnemonics.setLocalizedText(jLabelEncoding, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Encoding_JLabel"));
264         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
265         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
266         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 0, 6);
267         jPanel1.add(jLabelEncoding, gridBagConstraints);
268
269         jTextFieldEncoding.setMinimumSize(new java.awt.Dimension JavaDoc(150, 22));
270         jTextFieldEncoding.setPreferredSize(new java.awt.Dimension JavaDoc(150, 22));
271         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
272         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
273         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
274         gridBagConstraints.weightx = 1.0;
275         jPanel1.add(jTextFieldEncoding, gridBagConstraints);
276         jTextFieldEncoding.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jTextFieldEncoding"));
277
278         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
279         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
280         gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
281         gridBagConstraints.weightx = 1.0;
282         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 12, 0);
283         add(jPanel1, gridBagConstraints);
284
285         jPanel2.setLayout(new java.awt.GridBagLayout JavaDoc());
286
287         jLabelAddOptions.setLabelFor(jTextFieldAddOptions);
288         org.openide.awt.Mnemonics.setLocalizedText(jLabelAddOptions, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_AddOptions_JLabel"));
289         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
290         gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
291         jPanel2.add(jLabelAddOptions, gridBagConstraints);
292
293         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
294         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
295         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
296         gridBagConstraints.weightx = 1.0;
297         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 6, 0, 0);
298         jPanel2.add(jTextFieldAddOptions, gridBagConstraints);
299         jTextFieldAddOptions.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "AN_Javadoc_AdditionalOptions"));
300         jTextFieldAddOptions.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "AD_Javadoc_AdditionalOptions"));
301
302         org.openide.awt.Mnemonics.setLocalizedText(jLabelAddOptionsInfo, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_AddOptionsInfo_JLabel"));
303         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
304         gridBagConstraints.gridx = 1;
305         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
306         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
307         gridBagConstraints.weightx = 1.0;
308         gridBagConstraints.insets = new java.awt.Insets JavaDoc(6, 6, 0, 0);
309         jPanel2.add(jLabelAddOptionsInfo, gridBagConstraints);
310
311         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
312         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
313         gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
314         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 12, 0);
315         add(jPanel2, gridBagConstraints);
316
317         org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxPreview, org.openide.util.NbBundle.getMessage(CustomizerJavadoc.class, "LBL_CustomizeJavadoc_Preview_JCheckBox"));
318         jCheckBoxPreview.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 2));
319         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
320         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
321         gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
322         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
323         gridBagConstraints.weighty = 1.0;
324         add(jCheckBoxPreview, gridBagConstraints);
325         jCheckBoxPreview.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getBundle(CustomizerJavadoc.class).getString("AD_jCheckBoxPreview"));
326
327     }
328     // </editor-fold>//GEN-END:initComponents
329

330     private void reenableSplitIndex(java.awt.event.ActionEvent JavaDoc evt) {//GEN-FIRST:event_reenableSplitIndex
331
jCheckBoxSplitIndex.setEnabled( jCheckBoxIndex.isSelected() );
332     }//GEN-LAST:event_reenableSplitIndex
333

334     
335     // Variables declaration - do not modify//GEN-BEGIN:variables
336
private javax.swing.JButton JavaDoc jButtonPackage;
337     private javax.swing.JCheckBox JavaDoc jCheckBoxAuthor;
338     private javax.swing.JCheckBox JavaDoc jCheckBoxIndex;
339     private javax.swing.JCheckBox JavaDoc jCheckBoxNavigation;
340     private javax.swing.JCheckBox JavaDoc jCheckBoxPreview;
341     private javax.swing.JCheckBox JavaDoc jCheckBoxPrivate;
342     private javax.swing.JCheckBox JavaDoc jCheckBoxSplitIndex;
343     private javax.swing.JCheckBox JavaDoc jCheckBoxSubpackages;
344     private javax.swing.JCheckBox JavaDoc jCheckBoxTree;
345     private javax.swing.JCheckBox JavaDoc jCheckBoxUsages;
346     private javax.swing.JCheckBox JavaDoc jCheckBoxVersion;
347     private javax.swing.JLabel JavaDoc jLabelAddOptions;
348     private javax.swing.JLabel JavaDoc jLabelAddOptionsInfo;
349     private javax.swing.JLabel JavaDoc jLabelEncoding;
350     private javax.swing.JLabel JavaDoc jLabelGenerate;
351     private javax.swing.JLabel JavaDoc jLabelPackage;
352     private javax.swing.JLabel JavaDoc jLabelTags;
353     private javax.swing.JLabel JavaDoc jLabelWinTitle;
354     private javax.swing.JPanel JavaDoc jPanel1;
355     private javax.swing.JPanel JavaDoc jPanel2;
356     private javax.swing.JTextField JavaDoc jTextFieldAddOptions;
357     private javax.swing.JTextField JavaDoc jTextFieldEncoding;
358     private javax.swing.JTextField JavaDoc jTextFieldPackage;
359     private javax.swing.JTextField JavaDoc jTextFieldWinTitle;
360     // End of variables declaration//GEN-END:variables
361

362 }
363
Popular Tags