KickJava   Java API By Example, From Geeks To Geeks.

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


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 TwoFoldersPreviewPanel extends javax.swing.JPanel JavaDoc {
27     
28     /** Creates new form OneFolderPreviewPanel */
29     public TwoFoldersPreviewPanel() {
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/twofolders.png")));
43         jLabel1.setLabelFor(repositoryFolderTextField1);
44         jLabel1.getAccessibleContext().setAccessibleName("Preview Image");
45         jLabel1.getAccessibleContext().setAccessibleDescription("Preview Image for ");
46
47         repositoryFolderTextField1.setColumns(27);
48         repositoryFolderTextField1.setEditable(false);
49         repositoryFolderTextField1.getAccessibleContext().setAccessibleName("Repository Url");
50         repositoryFolderTextField1.getAccessibleContext().setAccessibleDescription("Repository Url");
51
52         repositoryFolderTextField2.setColumns(27);
53         repositoryFolderTextField2.setEditable(false);
54         repositoryFolderTextField2.getAccessibleContext().setAccessibleName("Repository Url");
55         repositoryFolderTextField2.getAccessibleContext().setAccessibleDescription("Repository Url");
56
57         localFolderTextField.setColumns(27);
58         localFolderTextField.setEditable(false);
59         localFolderTextField.getAccessibleContext().setAccessibleName("Working Copy");
60         localFolderTextField.getAccessibleContext().setAccessibleDescription("Working Copy");
61
62         org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
63         this.setLayout(layout);
64         layout.setHorizontalGroup(
65             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
66             .add(layout.createSequentialGroup()
67                 .add(jLabel1)
68                 .add(21, 21, 21)
69                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
70                     .add(localFolderTextField)
71                     .add(repositoryFolderTextField1)
72                     .add(repositoryFolderTextField2)))
73         );
74         layout.setVerticalGroup(
75             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
76             .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
77                 .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
78                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
79                     .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
80                         .add(jLabel1)
81                         .add(repositoryFolderTextField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
82                     .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
83                         .add(repositoryFolderTextField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
84                         .add(103, 103, 103)
85                         .add(localFolderTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
86                 .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
87         );
88     }// </editor-fold>//GEN-END:initComponents
89

90     
91     // Variables declaration - do not modify//GEN-BEGIN:variables
92
private javax.swing.JLabel JavaDoc jLabel1;
93     final javax.swing.JTextField JavaDoc localFolderTextField = new javax.swing.JTextField JavaDoc();
94     final javax.swing.JTextField JavaDoc repositoryFolderTextField1 = new javax.swing.JTextField JavaDoc();
95     final javax.swing.JTextField JavaDoc repositoryFolderTextField2 = new javax.swing.JTextField JavaDoc();
96     // End of variables declaration//GEN-END:variables
97

98 }
99
Popular Tags