KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > subversion > ui > copy > SinceOriginPreviewPanel


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.subversion.ui.copy;
21
22 /**
23  *
24  * @author tst
25  */

26 public class SinceOriginPreviewPanel extends javax.swing.JPanel JavaDoc {
27     
28     /** Creates new form OneFolderPreviewPanel */
29     public SinceOriginPreviewPanel() {
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         jLabel1 = new javax.swing.JLabel JavaDoc();
41
42         jLabel1.setIcon(new javax.swing.ImageIcon JavaDoc(getClass().getResource("/org/netbeans/modules/subversion/resources/icons/sinceorigin.png")));
43         jLabel1.setLabelFor(localFolderTextField);
44
45         repositoryFolderTextField.setEditable(false);
46         repositoryFolderTextField.setText("jTextField1"); // NOI18N
47
repositoryFolderTextField.getAccessibleContext().setAccessibleName("Repository Folder Location");
48         repositoryFolderTextField.getAccessibleContext().setAccessibleDescription("Local Copy Location");
49
50         localFolderTextField.setEditable(false);
51         localFolderTextField.setText("jTextField1"); // NOI18N
52
localFolderTextField.getAccessibleContext().setAccessibleName("Repository Location");
53         localFolderTextField.getAccessibleContext().setAccessibleDescription("Local Copy Location");
54
55         org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
56         this.setLayout(layout);
57         layout.setHorizontalGroup(
58             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
59             .add(layout.createSequentialGroup()
60                 .add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 397, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
61                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
62                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
63                     .add(localFolderTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 289, Short.MAX_VALUE)
64                     .add(repositoryFolderTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 289, Short.MAX_VALUE)))
65         );
66         layout.setVerticalGroup(
67             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
68             .add(layout.createSequentialGroup()
69                 .addContainerGap()
70                 .add(repositoryFolderTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
71                 .add(43, 43, 43)
72                 .add(localFolderTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
73             .add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 111, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
74         );
75     }// </editor-fold>//GEN-END:initComponents
76

77     
78     // Variables declaration - do not modify//GEN-BEGIN:variables
79
private javax.swing.JLabel JavaDoc jLabel1;
80     final javax.swing.JTextField JavaDoc localFolderTextField = new javax.swing.JTextField JavaDoc();
81     final javax.swing.JTextField JavaDoc repositoryFolderTextField = new javax.swing.JTextField JavaDoc();
82     // End of variables declaration//GEN-END:variables
83

84 }
85
Popular Tags