KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > versioning > system > cvss > ui > actions > project > ImportPanel


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.versioning.system.cvss.ui.actions.project;
21
22 /**
23  *
24  * @author Petr Kuzel
25  */

26 public class ImportPanel extends javax.swing.JPanel JavaDoc {
27
28     /** Creates new form ImportPanel */
29     public ImportPanel() {
30         initComponents();
31     }
32
33     /** This method is called from within the constructor to
34      * initialize the form.
35      * WARNING: Do NOT modify this code. The content of this method is
36      * always regenerated by the Form Editor.
37      */

38     // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
39
private void initComponents() {
40         java.awt.GridBagConstraints JavaDoc gridBagConstraints;
41
42         setLayout(new java.awt.GridBagLayout JavaDoc());
43
44         setName(org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK0014"));
45         getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("ACSD_ImportPanel"));
46         org.openide.awt.Mnemonics.setLocalizedText(jLabel4, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK1012"));
47         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
48         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
49         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
50         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 3, 0);
51         add(jLabel4, gridBagConstraints);
52
53         jLabel3.setLabelFor(folderTextField);
54         org.openide.awt.Mnemonics.setLocalizedText(jLabel3, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK1104"));
55         jLabel3.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_FolderToImport"));
56         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
57         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
58         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 0, 3, 3);
59         add(jLabel3, gridBagConstraints);
60
61         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
62         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
63         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 3);
64         add(folderTextField, gridBagConstraints);
65
66         org.openide.awt.Mnemonics.setLocalizedText(folderButton, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK1020"));
67         folderButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_BrowseFolder"));
68         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
69         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
70         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 0);
71         add(folderButton, gridBagConstraints);
72
73         jLabel1.setLabelFor(commentTextArea);
74         org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK0001"));
75         jLabel1.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_ImportMessage"));
76         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
77         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
78         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 0, 3, 3);
79         add(jLabel1, gridBagConstraints);
80
81         commentTextArea.setColumns(40);
82         commentTextArea.setRows(8);
83         commentScrollPane.setViewportView(commentTextArea);
84
85         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
86         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
87         gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
88         gridBagConstraints.weightx = 1.0;
89         gridBagConstraints.weighty = 1.0;
90         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 0);
91         add(commentScrollPane, gridBagConstraints);
92
93         org.openide.awt.Mnemonics.setLocalizedText(jLabel5, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK0013"));
94         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
95         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
96         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
97         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 0, 3, 0);
98         add(jLabel5, gridBagConstraints);
99
100         jLabel2.setLabelFor(moduleTextField);
101         org.openide.awt.Mnemonics.setLocalizedText(jLabel2, org.openide.util.NbBundle.getMessage(ImportPanel.class, "Bk0002"));
102         jLabel2.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_RepositoryFolder"));
103         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
104         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
105         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 0, 3, 3);
106         add(jLabel2, gridBagConstraints);
107
108         moduleTextField.setColumns(40);
109         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
110         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
111         gridBagConstraints.weightx = 1.0;
112         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 3);
113         add(moduleTextField, gridBagConstraints);
114
115         org.openide.awt.Mnemonics.setLocalizedText(moduleButton, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK1016"));
116         moduleButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_BrowseRepository"));
117         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
118         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
119         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 0);
120         add(moduleButton, gridBagConstraints);
121
122         checkoutCheckBox.setSelected(true);
123         org.openide.awt.Mnemonics.setLocalizedText(checkoutCheckBox, org.openide.util.NbBundle.getMessage(ImportPanel.class, "BK0011"));
124         checkoutCheckBox.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/actions/project/Bundle").getString("TT_Checkout"));
125         checkoutCheckBox.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
126         checkoutCheckBox.setMargin(new java.awt.Insets JavaDoc(0, 0, 0, 0));
127         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
128         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
129         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
130         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 0, 3, 0);
131         add(checkoutCheckBox, gridBagConstraints);
132
133     }
134     // </editor-fold>//GEN-END:initComponents
135

136     
137     // Variables declaration - do not modify//GEN-BEGIN:variables
138
final javax.swing.JCheckBox JavaDoc checkoutCheckBox = new javax.swing.JCheckBox JavaDoc();
139     final javax.swing.JScrollPane JavaDoc commentScrollPane = new javax.swing.JScrollPane JavaDoc();
140     final org.netbeans.modules.versioning.system.cvss.ui.components.KTextArea commentTextArea = new org.netbeans.modules.versioning.system.cvss.ui.components.KTextArea();
141     final javax.swing.JButton JavaDoc folderButton = new javax.swing.JButton JavaDoc();
142     final javax.swing.JTextField JavaDoc folderTextField = new javax.swing.JTextField JavaDoc();
143     final javax.swing.JLabel JavaDoc jLabel1 = new javax.swing.JLabel JavaDoc();
144     final javax.swing.JLabel JavaDoc jLabel2 = new javax.swing.JLabel JavaDoc();
145     final javax.swing.JLabel JavaDoc jLabel3 = new javax.swing.JLabel JavaDoc();
146     final javax.swing.JLabel JavaDoc jLabel4 = new javax.swing.JLabel JavaDoc();
147     final javax.swing.JLabel JavaDoc jLabel5 = new javax.swing.JLabel JavaDoc();
148     final javax.swing.JButton JavaDoc moduleButton = new javax.swing.JButton JavaDoc();
149     final javax.swing.JTextField JavaDoc moduleTextField = new javax.swing.JTextField JavaDoc();
150     // End of variables declaration//GEN-END:variables
151

152 }
153
Popular Tags