001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: package org.netbeans.modules.subversion.options;
043:
044: /**
045: *
046: * @author tomas
047: */
048: public class EditAnnotationPanel extends javax.swing.JPanel {
049:
050: /** Creates new form EditAnnotationPanel */
051: public EditAnnotationPanel() {
052: initComponents();
053: }
054:
055: /** This method is called from within the constructor to
056: * initialize the form.
057: * WARNING: Do NOT modify this code. The content of this method is
058: * always regenerated by the Form Editor.
059: */
060: // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
061: private void initComponents() {
062:
063: jLabel1 = new javax.swing.JLabel();
064: jLabel2 = new javax.swing.JLabel();
065:
066: jLabel1
067: .setText(org.openide.util.NbBundle
068: .getMessage(EditAnnotationPanel.class,
069: "AnnotationSettingsPanel.expresionsTable.column1.name")); // NOI18N
070:
071: jLabel2
072: .setText(org.openide.util.NbBundle
073: .getMessage(EditAnnotationPanel.class,
074: "AnnotationSettingsPanel.expresionsTable.column2.name")); // NOI18N
075:
076: patternTextField.setText(org.openide.util.NbBundle.getMessage(
077: EditAnnotationPanel.class,
078: "EditAnnotationPanel.patternTextField.text")); // NOI18N
079:
080: folderTextField.setText(org.openide.util.NbBundle.getMessage(
081: EditAnnotationPanel.class,
082: "EditAnnotationPanel.folderTextField.text")); // NOI18N
083:
084: org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(
085: this );
086: this .setLayout(layout);
087: layout
088: .setHorizontalGroup(layout
089: .createParallelGroup(
090: org.jdesktop.layout.GroupLayout.LEADING)
091: .add(
092: layout
093: .createSequentialGroup()
094: .addContainerGap()
095: .add(
096: layout
097: .createParallelGroup(
098: org.jdesktop.layout.GroupLayout.LEADING)
099: .add(
100: patternTextField,
101: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
102: 304,
103: Short.MAX_VALUE)
104: .add(jLabel1))
105: .addPreferredGap(
106: org.jdesktop.layout.LayoutStyle.RELATED)
107: .add(
108: layout
109: .createParallelGroup(
110: org.jdesktop.layout.GroupLayout.LEADING)
111: .add(
112: folderTextField,
113: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
114: 159,
115: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
116: .add(jLabel2))
117: .addContainerGap()));
118: layout
119: .setVerticalGroup(layout
120: .createParallelGroup(
121: org.jdesktop.layout.GroupLayout.LEADING)
122: .add(
123: layout
124: .createSequentialGroup()
125: .addContainerGap()
126: .add(
127: layout
128: .createParallelGroup(
129: org.jdesktop.layout.GroupLayout.BASELINE)
130: .add(jLabel1)
131: .add(jLabel2))
132: .addPreferredGap(
133: org.jdesktop.layout.LayoutStyle.RELATED)
134: .add(
135: layout
136: .createParallelGroup(
137: org.jdesktop.layout.GroupLayout.BASELINE)
138: .add(
139: patternTextField,
140: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
141: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
142: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
143: .add(
144: folderTextField,
145: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
146: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
147: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
148: .addContainerGap(
149: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
150: Short.MAX_VALUE)));
151: }// </editor-fold>//GEN-END:initComponents
152:
153: // Variables declaration - do not modify//GEN-BEGIN:variables
154: final javax.swing.JTextField folderTextField = new javax.swing.JTextField();
155: private javax.swing.JLabel jLabel1;
156: private javax.swing.JLabel jLabel2;
157: final javax.swing.JTextField patternTextField = new javax.swing.JTextField();
158: // End of variables declaration//GEN-END:variables
159:
160: }
|