KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > subversion > options > SvnOptionsPanel


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 package org.netbeans.modules.subversion.options;
20
21 /**
22  *
23  * @author Tomas Stupka
24  */

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

37     // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
38
private void initComponents() {
39
40         jLabel1 = new javax.swing.JLabel JavaDoc();
41         jLabel5 = new javax.swing.JLabel JavaDoc();
42         jPanel3 = new javax.swing.JPanel JavaDoc();
43         jLabel6 = new javax.swing.JLabel JavaDoc();
44         jPanel4 = new javax.swing.JPanel JavaDoc();
45         jLabel7 = new javax.swing.JLabel JavaDoc();
46
47         setBackground(new java.awt.Color JavaDoc(255, 255, 255));
48
49         jLabel1.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jLabel1.text")); // NOI18N
50

51         jLabel5.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jLabel5.text")); // NOI18N
52

53         browseButton.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.browseButton.text")); // NOI18N
54

55         jPanel3.setBackground(new java.awt.Color JavaDoc(255, 255, 255));
56         jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jPanel3.border.title"))); // NOI18N
57

58         jLabel6.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jLabel6.text")); // NOI18N
59

60         manageConnSettingsButton.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.manageConnSettingsButton.text")); // NOI18N
61

62         org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
63         jPanel3.setLayout(jPanel3Layout);
64         jPanel3Layout.setHorizontalGroup(
65             jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
66             .add(jPanel3Layout.createSequentialGroup()
67                 .addContainerGap()
68                 .add(jLabel6)
69                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 87, Short.MAX_VALUE)
70                 .add(manageConnSettingsButton)
71                 .addContainerGap())
72         );
73         jPanel3Layout.setVerticalGroup(
74             jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
75             .add(jPanel3Layout.createSequentialGroup()
76                 .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
77                     .add(jLabel6)
78                     .add(manageConnSettingsButton))
79                 .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
80         );
81
82         jPanel4.setBackground(new java.awt.Color JavaDoc(255, 255, 255));
83         jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jPanel4.border.title"))); // NOI18N
84

85         jLabel7.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.jLabel7.text")); // NOI18N
86

87         manageLabelsButton.setText(org.openide.util.NbBundle.getMessage(SvnOptionsPanel.class, "SvnOptionsPanel.manageLabelsButton.text")); // NOI18N
88

89         org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4);
90         jPanel4.setLayout(jPanel4Layout);
91         jPanel4Layout.setHorizontalGroup(
92             jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
93             .add(jPanel4Layout.createSequentialGroup()
94                 .addContainerGap()
95                 .add(jLabel7)
96                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 124, Short.MAX_VALUE)
97                 .add(manageLabelsButton)
98                 .addContainerGap())
99         );
100         jPanel4Layout.setVerticalGroup(
101             jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
102             .add(jPanel4Layout.createSequentialGroup()
103                 .add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
104                     .add(jLabel7)
105                     .add(manageLabelsButton))
106                 .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
107         );
108
109         org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
110         this.setLayout(layout);
111         layout.setHorizontalGroup(
112             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
113             .add(layout.createSequentialGroup()
114                 .addContainerGap()
115                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
116                     .add(jPanel3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
117                     .add(layout.createSequentialGroup()
118                         .add(jLabel1)
119                         .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
120                         .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
121                             .add(jLabel5)
122                             .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
123                                 .add(executablePathTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 375, Short.MAX_VALUE)
124                                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
125                                 .add(browseButton))))
126                     .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
127                 .addContainerGap())
128         );
129         layout.setVerticalGroup(
130             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
131             .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
132                 .addContainerGap()
133                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
134                     .add(jLabel1)
135                     .add(browseButton)
136                     .add(executablePathTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
137                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
138                 .add(jLabel5)
139                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
140                 .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
141                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
142                 .add(jPanel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
143                 .addContainerGap())
144         );
145     }// </editor-fold>//GEN-END:initComponents
146

147     
148     // Variables declaration - do not modify//GEN-BEGIN:variables
149
final javax.swing.JButton JavaDoc browseButton = new javax.swing.JButton JavaDoc();
150     final javax.swing.JTextField JavaDoc executablePathTextField = new javax.swing.JTextField JavaDoc();
151     private javax.swing.JLabel JavaDoc jLabel1;
152     private javax.swing.JLabel JavaDoc jLabel5;
153     private javax.swing.JLabel JavaDoc jLabel6;
154     private javax.swing.JLabel JavaDoc jLabel7;
155     private javax.swing.JPanel JavaDoc jPanel3;
156     private javax.swing.JPanel JavaDoc jPanel4;
157     final javax.swing.JButton JavaDoc manageConnSettingsButton = new javax.swing.JButton JavaDoc();
158     final javax.swing.JButton JavaDoc manageLabelsButton = new javax.swing.JButton JavaDoc();
159     // End of variables declaration//GEN-END:variables
160

161 }
162
Popular Tags