KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > subversion > ui > wizards > importstep > ImportPanel


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.wizards.importstep;
21
22 import org.netbeans.modules.subversion.ui.wizards.*;
23
24 /**
25  *
26  * @author Petr Kuzel
27  */

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

40     // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
41
private void initComponents() {
42         jLabel1 = new javax.swing.JLabel JavaDoc();
43         jScrollPane1 = new javax.swing.JScrollPane JavaDoc();
44         jLabel4 = new javax.swing.JLabel JavaDoc();
45         jLabel2 = new javax.swing.JLabel JavaDoc();
46
47         setName(org.openide.util.NbBundle.getMessage(ImportPanel.class, "CTL_Import_Name")); // NOI18N
48
jLabel1.setLabelFor(messageTextArea);
49         org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(ImportPanel.class, "CTL_Import_Message")); // NOI18N
50

51         messageTextArea.setColumns(20);
52         messageTextArea.setRows(5);
53         jScrollPane1.setViewportView(messageTextArea);
54         messageTextArea.getAccessibleContext().setAccessibleName("Specify the Message");
55         messageTextArea.getAccessibleContext().setAccessibleDescription("Specify the Message");
56
57         jLabel4.setLabelFor(repositoryPathTextField);
58         org.openide.awt.Mnemonics.setLocalizedText(jLabel4, org.openide.util.NbBundle.getMessage(ImportPanel.class, "CTL_Import_Folder")); // NOI18N
59
jLabel4.getAccessibleContext().setAccessibleDescription("Repository Folder");
60
61         org.openide.awt.Mnemonics.setLocalizedText(browseRepositoryButton, org.openide.util.NbBundle.getMessage(ImportPanel.class, "CTL_Import_Browse")); // NOI18N
62
browseRepositoryButton.getAccessibleContext().setAccessibleDescription("Browse Repository Folders");
63
64         org.openide.awt.Mnemonics.setLocalizedText(jLabel2, org.openide.util.NbBundle.getMessage(ImportPanel.class, "CTL_Import_Hint")); // NOI18N
65

66         progressPanel.setLayout(new java.awt.BorderLayout JavaDoc());
67
68         org.openide.awt.Mnemonics.setLocalizedText(progressLabel, " "); // NOI18N
69

70         org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
71         this.setLayout(layout);
72         layout.setHorizontalGroup(
73             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
74             .add(layout.createSequentialGroup()
75                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
76                     .add(layout.createSequentialGroup()
77                         .add(jLabel4)
78                         .add(15, 15, 15)
79                         .add(repositoryPathTextField, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 390, Short.MAX_VALUE))
80                     .add(jLabel2)
81                     .add(jLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 494, Short.MAX_VALUE))
82                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
83                 .add(browseRepositoryButton))
84             .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 579, Short.MAX_VALUE)
85             .add(progressLabel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 579, Short.MAX_VALUE)
86             .add(progressPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 579, Short.MAX_VALUE)
87         );
88         layout.setVerticalGroup(
89             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
90             .add(layout.createSequentialGroup()
91                 .add(jLabel2)
92                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
93                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
94                     .add(jLabel4)
95                     .add(browseRepositoryButton)
96                     .add(repositoryPathTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
97                 .add(26, 26, 26)
98                 .add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 15, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
99                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
100                 .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 142, Short.MAX_VALUE)
101                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
102                 .add(progressLabel)
103                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
104                 .add(progressPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 41, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
105                 .addContainerGap())
106         );
107     }// </editor-fold>//GEN-END:initComponents
108

109     
110     // Variables declaration - do not modify//GEN-BEGIN:variables
111
final javax.swing.JButton JavaDoc browseRepositoryButton = new javax.swing.JButton JavaDoc();
112     private javax.swing.JLabel JavaDoc jLabel1;
113     private javax.swing.JLabel JavaDoc jLabel2;
114     private javax.swing.JLabel JavaDoc jLabel4;
115     private javax.swing.JScrollPane JavaDoc jScrollPane1;
116     final javax.swing.JTextArea JavaDoc messageTextArea = new javax.swing.JTextArea JavaDoc();
117     final javax.swing.JLabel JavaDoc progressLabel = new javax.swing.JLabel JavaDoc();
118     final javax.swing.JPanel JavaDoc progressPanel = new javax.swing.JPanel JavaDoc();
119     final javax.swing.JTextField JavaDoc repositoryPathTextField = new javax.swing.JTextField JavaDoc();
120     // End of variables declaration//GEN-END:variables
121

122 }
123
Popular Tags