KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > localhistory > ui > view > LocalHistoryFolderPanel


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 package org.netbeans.modules.localhistory.ui.view;
20
21 import org.netbeans.modules.localhistory.ui.revert.RevertFolderChanges;
22
23 /**
24  *
25  * @author Tomas Stupka
26  */

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

39     // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
40
private void initComponents() {
41
42         jLabel2 = new javax.swing.JLabel JavaDoc();
43         jButton1 = new javax.swing.JButton JavaDoc();
44         jLabel1 = new javax.swing.JLabel JavaDoc();
45
46         jLabel2.setText(org.openide.util.NbBundle.getMessage(LocalHistoryFolderPanel.class, "LocalHistoryFolderPanel.jLabel2.text")); // NOI18N
47

48         dateTextField.setText(org.openide.util.NbBundle.getMessage(LocalHistoryFolderPanel.class, "LocalHistoryFolderPanel.dateTextField.text")); // NOI18N
49
dateTextField.setToolTipText(org.openide.util.NbBundle.getMessage(LocalHistoryFolderPanel.class, "LocalHistoryFolderPanel.dateTextField.toolTipText")); // NOI18N
50

51         tablePanel.setLayout(new java.awt.BorderLayout JavaDoc());
52
53         revertButton.setText(org.openide.util.NbBundle.getMessage(LocalHistoryFolderPanel.class, "LocalHistoryFolderPanel.revertButton.text")); // NOI18N
54

55         jButton1.setText(org.openide.util.NbBundle.getMessage(LocalHistoryFolderPanel.class, "LocalHistoryFolderPanel.jButton1.text")); // NOI18N
56

57         jLabel1.setText(org.openide.util.NbBundle.getMessage(LocalHistoryFolderPanel.class, "LocalHistoryFolderPanel.jLabel1.text")); // NOI18N
58

59         org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
60         this.setLayout(layout);
61         layout.setHorizontalGroup(
62             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
63             .add(layout.createSequentialGroup()
64                 .addContainerGap()
65                 .add(jLabel2)
66                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
67                 .add(dateTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 163, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
68                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
69                 .add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 147, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
70                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
71                 .add(jButton1)
72                 .addContainerGap(184, Short.MAX_VALUE))
73             .add(tablePanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 758, Short.MAX_VALUE)
74             .add(layout.createSequentialGroup()
75                 .addContainerGap()
76                 .add(revertButton)
77                 .addContainerGap(673, Short.MAX_VALUE))
78         );
79         layout.setVerticalGroup(
80             layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
81             .add(layout.createSequentialGroup()
82                 .addContainerGap()
83                 .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
84                     .add(jLabel2)
85                     .add(dateTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
86                     .add(jLabel1)
87                     .add(jButton1))
88                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
89                 .add(tablePanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 131, Short.MAX_VALUE)
90                 .add(10, 10, 10)
91                 .add(revertButton)
92                 .addContainerGap())
93         );
94     }// </editor-fold>//GEN-END:initComponents
95

96     
97     // Variables declaration - do not modify//GEN-BEGIN:variables
98
final javax.swing.JFormattedTextField JavaDoc dateTextField = new javax.swing.JFormattedTextField JavaDoc(RevertFolderChanges.TS_FORMAT);
99     private javax.swing.JButton JavaDoc jButton1;
100     private javax.swing.JLabel JavaDoc jLabel1;
101     private javax.swing.JLabel JavaDoc jLabel2;
102     final javax.swing.JButton JavaDoc revertButton = new javax.swing.JButton JavaDoc();
103     final javax.swing.JPanel JavaDoc tablePanel = new javax.swing.JPanel JavaDoc();
104     // End of variables declaration//GEN-END:variables
105

106 }
107
Popular Tags