KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > subversion > ui > search > SvnSearchPanel


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.search;
21
22 import org.openide.explorer.ExplorerManager;
23
24 /**
25  *
26  * @author tst
27  */

28 public class SvnSearchPanel extends javax.swing.JPanel JavaDoc {
29     
30     /** Creates new form SvnSearchPanel */
31     public SvnSearchPanel() {
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         jLabel2 = new javax.swing.JLabel JavaDoc();
44
45         setPreferredSize(new java.awt.Dimension JavaDoc(650, 330));
46         dateFromTextField.setText(org.openide.util.NbBundle.getMessage(SvnSearchPanel.class, "SvnSearchPanel.dateFromTextField.text")); // NOI18N
47

48         listButton.setText(org.openide.util.NbBundle.getMessage(SvnSearchPanel.class, "SvnSearchPanel.listButton.text_1")); // NOI18N
49

50         jLabel1.setText(org.openide.util.NbBundle.getMessage(SvnSearchPanel.class, "SvnSearchPanel.jLabel1.text_1")); // NOI18N
51

52         jLabel2.setText(org.openide.util.NbBundle.getMessage(SvnSearchPanel.class, "SvnSearchPanel.jLabel2.text_1")); // NOI18N
53

54         listPanel.setLayout(new java.awt.GridBagLayout JavaDoc());
55
56         org.jdesktop.layout.GroupLayout noContentPanelLayout = new org.jdesktop.layout.GroupLayout(noContentPanel);
57         noContentPanel.setLayout(noContentPanelLayout);
58         noContentPanelLayout.setHorizontalGroup(
59             noContentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
60             .add(0, 556, Short.MAX_VALUE)
61         );
62         noContentPanelLayout.setVerticalGroup(
63             noContentPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
64             .add(0, 154, Short.MAX_VALUE)
65         );
66
67         org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
68         this.setLayout(layout);
69         layout.setHorizontalGroup(
70             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
71             .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
72                 .addContainerGap()
73                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
74                     .add(org.jdesktop.layout.GroupLayout.LEADING, noContentPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
75                     .add(listPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 556, Short.MAX_VALUE)
76                     .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
77                         .add(jLabel1)
78                         .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
79                         .add(dateFromTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 101, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
80                         .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
81                         .add(jLabel2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 227, Short.MAX_VALUE)
82                         .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
83                         .add(listButton)))
84                 .addContainerGap())
85         );
86         layout.setVerticalGroup(
87             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
88             .add(layout.createSequentialGroup()
89                 .addContainerGap()
90                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
91                     .add(listButton)
92                     .add(jLabel1)
93                     .add(jLabel2)
94                     .add(dateFromTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
95                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
96                 .add(listPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 115, Short.MAX_VALUE)
97                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
98                 .add(noContentPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
99                 .addContainerGap())
100         );
101     }// </editor-fold>//GEN-END:initComponents
102

103     
104     // Variables declaration - do not modify//GEN-BEGIN:variables
105
final javax.swing.JTextField JavaDoc dateFromTextField = new javax.swing.JTextField JavaDoc();
106     private javax.swing.JLabel JavaDoc jLabel1;
107     private javax.swing.JLabel JavaDoc jLabel2;
108     final javax.swing.JButton JavaDoc listButton = new javax.swing.JButton JavaDoc();
109     final javax.swing.JPanel JavaDoc listPanel = new javax.swing.JPanel JavaDoc();
110     final javax.swing.JPanel JavaDoc noContentPanel = new javax.swing.JPanel JavaDoc();
111     // End of variables declaration//GEN-END:variables
112

113 }
114
Popular Tags