KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > ddloaders > multiview > ui > RenameClassForm


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.ddloaders.multiview.ui;
21
22 import javax.swing.*;
23
24 /**
25  * @author pf154013
26  */

27 public class RenameClassForm extends javax.swing.JPanel JavaDoc {
28
29     /**
30      * Creates new form RenameClassForm
31      */

32     public RenameClassForm() {
33         initComponents();
34     }
35
36     /**
37      * This method is called from within the constructor to
38      * initialize the form.
39      * WARNING: Do NOT modify this code. The content of this method is
40      * always regenerated by the Form Editor.
41      */

42     private void initComponents() {//GEN-BEGIN:initComponents
43
java.awt.GridBagConstraints JavaDoc gridBagConstraints;
44
45         jLabel1 = new javax.swing.JLabel JavaDoc();
46         changeNameTextField = new javax.swing.JTextField JavaDoc();
47         renameCommentsCheckBox = new javax.swing.JCheckBox JavaDoc();
48         spacerLabel = new javax.swing.JLabel JavaDoc();
49
50         setLayout(new java.awt.GridBagLayout JavaDoc());
51
52         jLabel1.setText(org.openide.util.NbBundle.getMessage(RenameClassForm.class, "LBL_NewName"));
53         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
54         gridBagConstraints.gridx = 0;
55         gridBagConstraints.gridy = 0;
56         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
57         gridBagConstraints.insets = new java.awt.Insets JavaDoc(5, 5, 0, 5);
58         add(jLabel1, gridBagConstraints);
59
60         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
61         gridBagConstraints.gridx = 1;
62         gridBagConstraints.gridy = 0;
63         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
64         gridBagConstraints.weightx = 1.0;
65         gridBagConstraints.insets = new java.awt.Insets JavaDoc(5, 5, 0, 5);
66         add(changeNameTextField, gridBagConstraints);
67
68         renameCommentsCheckBox.setText(org.openide.util.NbBundle.getMessage(RenameClassForm.class, "LBL_RenameComments"));
69         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
70         gridBagConstraints.gridx = 0;
71         gridBagConstraints.gridy = 1;
72         gridBagConstraints.gridwidth = 2;
73         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
74         gridBagConstraints.insets = new java.awt.Insets JavaDoc(5, 5, 0, 5);
75         add(renameCommentsCheckBox, gridBagConstraints);
76
77         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
78         gridBagConstraints.gridx = 0;
79         gridBagConstraints.gridy = 2;
80         gridBagConstraints.weighty = 1.0;
81         add(spacerLabel, gridBagConstraints);
82
83     }//GEN-END:initComponents
84

85
86     // Variables declaration - do not modify//GEN-BEGIN:variables
87
private javax.swing.JTextField JavaDoc changeNameTextField;
88     private javax.swing.JLabel JavaDoc jLabel1;
89     private javax.swing.JCheckBox JavaDoc renameCommentsCheckBox;
90     private javax.swing.JLabel JavaDoc spacerLabel;
91     // End of variables declaration//GEN-END:variables
92

93     public JTextField getChangeNameTextField() {
94         return changeNameTextField;
95     }
96
97     public JCheckBox getRenameCommentsCheckBox() {
98         return renameCommentsCheckBox;
99     }
100 }
101
Popular Tags