KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > ejbjarproject > 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.j2ee.ejbjarproject.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 EjbJarProjectProperties j2seProperties = null;
33
34     public CustomizerJavadoc( EjbJarProjectProperties uiProperties ) {
35         initComponents();
36
37         uiProperties.JAVADOC_PRIVATE_MODEL.setMnemonic( jCheckBoxPrivate.getMnemonic() );
38         jCheckBoxPrivate.setModel( uiProperties.JAVADOC_PRIVATE_MODEL );
39         uiProperties.JAVADOC_NO_TREE_MODEL.setMnemonic( jCheckBoxTree.getMnemonic() );
40         jCheckBoxTree.setModel( uiProperties.JAVADOC_NO_TREE_MODEL );
41         uiProperties.JAVADOC_USE_MODEL.setMnemonic( jCheckBoxUsages.getMnemonic() );
42         jCheckBoxUsages.setModel( uiProperties.JAVADOC_USE_MODEL );
43         uiProperties.JAVADOC_NO_NAVBAR_MODEL.setMnemonic( jCheckBoxNavigation.getMnemonic() );
44         jCheckBoxNavigation.setModel( uiProperties.JAVADOC_NO_NAVBAR_MODEL );
45         uiProperties.JAVADOC_NO_INDEX_MODEL.setMnemonic( jCheckBoxIndex.getMnemonic() );
46         jCheckBoxIndex.setModel( uiProperties.JAVADOC_NO_INDEX_MODEL );
47         uiProperties.JAVADOC_SPLIT_INDEX_MODEL.setMnemonic( jCheckBoxSplitIndex.getMnemonic() );
48         jCheckBoxSplitIndex.setModel( uiProperties.JAVADOC_SPLIT_INDEX_MODEL );
49         uiProperties.JAVADOC_AUTHOR_MODEL.setMnemonic( jCheckBoxAuthor.getMnemonic() );
50         jCheckBoxAuthor.setModel( uiProperties.JAVADOC_AUTHOR_MODEL );
51         uiProperties.JAVADOC_VERSION_MODEL.setMnemonic( jCheckBoxVersion.getMnemonic() );
52         jCheckBoxVersion.setModel( uiProperties.JAVADOC_VERSION_MODEL );
53         jTextFieldWinTitle.setDocument( uiProperties.JAVADOC_WINDOW_TITLE_MODEL );
54         uiProperties.JAVADOC_PREVIEW_MODEL.setMnemonic( jCheckBoxPreview.getMnemonic() );
55         jCheckBoxPreview.setModel( uiProperties.JAVADOC_PREVIEW_MODEL );
56         jTextFieldAddOptions.setDocument( uiProperties.JAVADOC_ADDITIONALPARAM_MODEL );
57          
58         reenableSplitIndex( null );
59         
60         // XXX Temporarily removing some controls
61

62         remove( jLabelPackage );
63         remove( jTextFieldPackage );
64         remove( jButtonPackage );
65         remove( jCheckBoxSubpackages );
66         jPanel1.remove( jLabelEncoding );
67         jPanel1.remove( jTextFieldEncoding );
68 }
69     
70     public HelpCtx getHelpCtx() {
71         return new HelpCtx( CustomizerJavadoc.class );
72     }
73     
74     /** This method is called from within the constructor to
75      * initialize the form.
76      * WARNING: Do NOT modify this code. The content of this method is
77      * always regenerated by the Form Editor.
78      */

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

317     private void reenableSplitIndex(java.awt.event.ActionEvent JavaDoc evt) {//GEN-FIRST:event_reenableSplitIndex
318
jCheckBoxSplitIndex.setEnabled( jCheckBoxIndex.isSelected() );
319     }//GEN-LAST:event_reenableSplitIndex
320

321     
322     // Variables declaration - do not modify//GEN-BEGIN:variables
323
private javax.swing.JButton JavaDoc jButtonPackage;
324     private javax.swing.JCheckBox JavaDoc jCheckBoxAuthor;
325     private javax.swing.JCheckBox JavaDoc jCheckBoxIndex;
326     private javax.swing.JCheckBox JavaDoc jCheckBoxNavigation;
327     private javax.swing.JCheckBox JavaDoc jCheckBoxPreview;
328     private javax.swing.JCheckBox JavaDoc jCheckBoxPrivate;
329     private javax.swing.JCheckBox JavaDoc jCheckBoxSplitIndex;
330     private javax.swing.JCheckBox JavaDoc jCheckBoxSubpackages;
331     private javax.swing.JCheckBox JavaDoc jCheckBoxTree;
332     private javax.swing.JCheckBox JavaDoc jCheckBoxUsages;
333     private javax.swing.JCheckBox JavaDoc jCheckBoxVersion;
334     private javax.swing.JLabel JavaDoc jLabelAddOptions;
335     private javax.swing.JLabel JavaDoc jLabelAddOptionsInfo;
336     private javax.swing.JLabel JavaDoc jLabelEncoding;
337     private javax.swing.JLabel JavaDoc jLabelGenerate;
338     private javax.swing.JLabel JavaDoc jLabelPackage;
339     private javax.swing.JLabel JavaDoc jLabelTags;
340     private javax.swing.JLabel JavaDoc jLabelWinTitle;
341     private javax.swing.JPanel JavaDoc jPanel1;
342     private javax.swing.JPanel JavaDoc jPanel2;
343     private javax.swing.JTextField JavaDoc jTextFieldAddOptions;
344     private javax.swing.JTextField JavaDoc jTextFieldEncoding;
345     private javax.swing.JTextField JavaDoc jTextFieldPackage;
346     private javax.swing.JTextField JavaDoc jTextFieldWinTitle;
347     // End of variables declaration//GEN-END:variables
348

349 }
350
Popular Tags