KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > versioning > system > cvss > ui > wizards > ModulePanel


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.wizards;
21
22 /**
23  * UI for selecting repository module and local working directory.
24  *
25  * @author Petr Kuzel
26  */

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

39     // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
40
private void initComponents() {
41         java.awt.GridBagConstraints JavaDoc gridBagConstraints;
42
43         setLayout(new java.awt.GridBagLayout JavaDoc());
44
45         setName(org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2009"));
46         getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/wizards/Bundle").getString("ACSD_ModuleStep"));
47         org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2001"));
48         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
49         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
50         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
51         gridBagConstraints.anchor = java.awt.GridBagConstraints.SOUTH;
52         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 0, 3, 0);
53         add(jLabel1, gridBagConstraints);
54
55         jLabel2.setLabelFor(moduleTextField);
56         org.openide.awt.Mnemonics.setLocalizedText(jLabel2, org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2002"));
57         jLabel2.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/wizards/Bundle").getString("TT_Module"));
58         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
59         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
60         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 0, 3, 3);
61         add(jLabel2, gridBagConstraints);
62
63         moduleTextField.setColumns(30);
64         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
65         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
66         gridBagConstraints.weightx = 1.0;
67         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 3);
68         add(moduleTextField, gridBagConstraints);
69
70         org.openide.awt.Mnemonics.setLocalizedText(moduleButton, org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2003"));
71         moduleButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/wizards/Bundle").getString("TT_BrowseModule"));
72         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
73         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
74         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
75         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 0);
76         add(moduleButton, gridBagConstraints);
77
78         org.openide.awt.Mnemonics.setLocalizedText(jLabel3, org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2004"));
79         jLabel3.setFocusable(false);
80         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
81         gridBagConstraints.gridx = 1;
82         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
83         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
84         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 3, 3, 0);
85         add(jLabel3, gridBagConstraints);
86
87         jLabel4.setLabelFor(tagTextField);
88         org.openide.awt.Mnemonics.setLocalizedText(jLabel4, org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2005"));
89         jLabel4.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/wizards/Bundle").getString("TT_Branch"));
90         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
91         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
92         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 0, 3, 3);
93         add(jLabel4, gridBagConstraints);
94
95         tagTextField.setColumns(30);
96         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
97         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
98         gridBagConstraints.weightx = 1.0;
99         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 3);
100         add(tagTextField, gridBagConstraints);
101
102         org.openide.awt.Mnemonics.setLocalizedText(tagButton, org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2093"));
103         tagButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/wizards/Bundle").getString("TT_BrowseBranch"));
104         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
105         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
106         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 0);
107         add(tagButton, gridBagConstraints);
108
109         org.openide.awt.Mnemonics.setLocalizedText(jLabel5, org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2006"));
110         jLabel5.setFocusable(false);
111         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
112         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
113         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
114         gridBagConstraints.insets = new java.awt.Insets JavaDoc(24, 0, 0, 0);
115         add(jLabel5, gridBagConstraints);
116
117         jLabel6.setLabelFor(workTextField);
118         org.openide.awt.Mnemonics.setLocalizedText(jLabel6, org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2007"));
119         jLabel6.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/wizards/Bundle").getString("TT_LocalFolder"));
120         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
121         gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
122         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 0, 3, 3);
123         add(jLabel6, gridBagConstraints);
124
125         workTextField.setColumns(30);
126         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
127         gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
128         gridBagConstraints.weightx = 1.0;
129         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 3);
130         add(workTextField, gridBagConstraints);
131
132         org.openide.awt.Mnemonics.setLocalizedText(workButton, org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2094"));
133         workButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/modules/versioning/system/cvss/ui/wizards/Bundle").getString("TT_BrowseFolder"));
134         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
135         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
136         gridBagConstraints.insets = new java.awt.Insets JavaDoc(3, 3, 3, 0);
137         add(workButton, gridBagConstraints);
138
139         org.openide.awt.Mnemonics.setLocalizedText(jLabel7, org.openide.util.NbBundle.getMessage(ModulePanel.class, "BK2008"));
140         jLabel7.setFocusable(false);
141         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
142         gridBagConstraints.gridx = 1;
143         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
144         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
145         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 3, 0, 0);
146         add(jLabel7, gridBagConstraints);
147
148         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
149         gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
150         gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
151         gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
152         gridBagConstraints.weightx = 1.0;
153         gridBagConstraints.weighty = 1.0;
154         add(jPanel1, gridBagConstraints);
155
156     }
157     // </editor-fold>//GEN-END:initComponents
158

159     
160     // Variables declaration - do not modify//GEN-BEGIN:variables
161
final javax.swing.JLabel JavaDoc jLabel1 = new javax.swing.JLabel JavaDoc();
162     final javax.swing.JLabel JavaDoc jLabel2 = new javax.swing.JLabel JavaDoc();
163     final javax.swing.JLabel JavaDoc jLabel3 = new javax.swing.JLabel JavaDoc();
164     final javax.swing.JLabel JavaDoc jLabel4 = new javax.swing.JLabel JavaDoc();
165     final javax.swing.JLabel JavaDoc jLabel5 = new javax.swing.JLabel JavaDoc();
166     final javax.swing.JLabel JavaDoc jLabel6 = new javax.swing.JLabel JavaDoc();
167     final javax.swing.JLabel JavaDoc jLabel7 = new javax.swing.JLabel JavaDoc();
168     final javax.swing.JPanel JavaDoc jPanel1 = new javax.swing.JPanel JavaDoc();
169     final javax.swing.JButton JavaDoc moduleButton = new javax.swing.JButton JavaDoc();
170     final javax.swing.JTextField JavaDoc moduleTextField = new javax.swing.JTextField JavaDoc();
171     final javax.swing.JButton JavaDoc tagButton = new javax.swing.JButton JavaDoc();
172     final javax.swing.JTextField JavaDoc tagTextField = new javax.swing.JTextField JavaDoc();
173     final javax.swing.JButton JavaDoc workButton = new javax.swing.JButton JavaDoc();
174     final javax.swing.JTextField JavaDoc workTextField = new javax.swing.JTextField JavaDoc();
175     // End of variables declaration//GEN-END:variables
176

177 }
178
Popular Tags